PHP Класс PayPal\Auth\Oauth\OAuthUtil

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
build_http_query ( $params )
get_headers ( ) helper to try to sort out headers for people who aren't running apache
parseQueryString ( $str )
parse_parameters ( $input ) array('a' => array('b','c'), 'd' => 'e')
split_header ( $header, $only_allow_oauth_parameters = true ) see http://code.google.com/p/oauth/issues/detail?id=163
urldecode_rfc3986 ( $string ) seem to be used anywhere so leaving it as is.
urlencode_rfc3986 ( $input )

Описание методов

build_http_query() публичный статический Метод

public static build_http_query ( $params )

get_headers() публичный статический Метод

helper to try to sort out headers for people who aren't running apache
public static get_headers ( )

parseQueryString() публичный статический Метод

public static parseQueryString ( $str )

parse_parameters() публичный статический Метод

array('a' => array('b','c'), 'd' => 'e')
public static parse_parameters ( $input )

split_header() публичный статический Метод

see http://code.google.com/p/oauth/issues/detail?id=163
public static split_header ( $header, $only_allow_oauth_parameters = true )

urldecode_rfc3986() публичный статический Метод

seem to be used anywhere so leaving it as is.
public static urldecode_rfc3986 ( $string )

urlencode_rfc3986() публичный статический Метод

public static urlencode_rfc3986 ( $input )