PHP Class Abraham\TwitterOAuth\Util

显示文件 Open project: abraham/twitteroauth Class Usage Examples

Public Methods

Method Description
buildHttpQuery ( array $params ) : string
parseParameters ( string $input ) : array This function takes a input like a=b&a=c&d=e and returns the parsed parameters like this array('a' => array('b','c'), 'd' => 'e')
urldecodeRfc3986 ( string $string ) : string
urlencodeRfc3986 ( $input ) : array | mixed | string

Method Details

buildHttpQuery() public static method

public static buildHttpQuery ( array $params ) : string
$params array
return string

parseParameters() public static method

This function takes a input like a=b&a=c&d=e and returns the parsed parameters like this array('a' => array('b','c'), 'd' => 'e')
public static parseParameters ( string $input ) : array
$input string
return array

urldecodeRfc3986() public static method

public static urldecodeRfc3986 ( string $string ) : string
$string string
return string

urlencodeRfc3986() public static method

public static urlencodeRfc3986 ( $input ) : array | mixed | string
$input
return array | mixed | string