phpDocumentor plugins
Twitter
[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: OAuthUtil

Source Location: /qp_plugins/twitter_plugin/twitteroauth/oAuth.php

Class OAuthUtil

Method Summary
static void   build_http_query()   dummy docblock makes error-free autodocs
static void   get_headers()   helper to try to sort out headers for people who aren't running apache
static void   parse_parameters()   This function takes a input like a=b&a=c&d=e and returns the parsed
static void   split_header()   Utility function
static void   urldecode_rfc3986()   This decode function isn't taking into consideration the above modifications to the encoding process. However, this method doesn't seem to be used anywhere so leaving it as is.
static void   urlencode_rfc3986()   dummy docblock makes error-free autodocs

[ Top ]
Methods
static method build_http_query  [line 1112]

  static void build_http_query( $params  )

dummy docblock makes error-free autodocs

Parameters:
   $params: 

API Tags:
Access:  public


[ Top ]
static method get_headers  [line 1026]

  static void get_headers( )

helper to try to sort out headers for people who aren't running apache


API Tags:
Access:  public


[ Top ]
static method parse_parameters  [line 1078]

  static void parse_parameters( $input  )

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')

Parameters:
   $input: 

API Tags:
Access:  public


[ Top ]
static method split_header  [line 1000]

  static void split_header( $header, [ $only_allow_oauth_parameters = true]  )

Utility function

Turning the Authorization: header into parameters, has to do some unescaping. Can filter out any non-oauth parameters if needed (default behaviour)

Parameters:
   $header: 
   $only_allow_oauth_parameters: 

API Tags:
Access:  public


[ Top ]
static method urldecode_rfc3986  [line 988]

  static void urldecode_rfc3986( $string  )

This decode function isn't taking into consideration the above modifications to the encoding process. However, this method doesn't seem to be used anywhere so leaving it as is.

Parameters:
   $string: 

API Tags:
Access:  public


[ Top ]
static method urlencode_rfc3986  [line 967]

  static void urlencode_rfc3986( $input  )

dummy docblock makes error-free autodocs

Parameters:
   $input: 

API Tags:
Access:  public


[ Top ]