PHP Class Twitter_OAuthUtil, twitter-php

显示文件 Open project: dg/twitter-php Class Usage Examples

Public Methods

Method Description
build_http_query ( $params )
get_headers ( ) helper to try to sort out headers for people who aren't running apache
parse_parameters ( $input ) ['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 )

Method Details

build_http_query() public static method

public static build_http_query ( $params )

get_headers() public static method

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

parse_parameters() public static method

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

split_header() public static method

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

urldecode_rfc3986() public static method

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

urlencode_rfc3986() public static method

public static urlencode_rfc3986 ( $input )