OAuth
PHP Manual

OAuth::setVersion

(PECL OAuth >= 0.99.1)

OAuth::setVersionSet the OAuth version

说明

public bool OAuth::setVersion ( string $version )

Sets the OAuth version for subsequent requests

参数

version

OAuth version, default value is always "1.0"

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.


OAuth
PHP Manual