HTTP_OAuth
[ class tree: HTTP_OAuth ] [ index: HTTP_OAuth ] [ all elements ]

Class: HTTP_OAuth

Source Location: /HTTP_OAuth-0.3.1/HTTP/OAuth.php

Class Overview


HTTP_OAuth


Author(s):

Copyright:

  • 2009 Jeff Hodsdon <jeffhodsdon@gmail.com>

Variables

Methods


Child classes:

HTTP_OAuth_Message
HTTP_OAuth_Message
HTTP_OAuth_Signature_Common
HTTP_OAuth_Signature_Common
HTTP_OAuth_Consumer
HTTP_OAuth_Consumer

Inherited Variables

Inherited Methods


Class Details

[line 37]
HTTP_OAuth

Main HTTP_OAuth class. Contains helper encoding methods.



[ Top ]


Class Variables

$logs = array()

[line 45]

Log instances
  • Var: Instances of PEAR Log handlers
  • Access: protected

Type:   array


[ Top ]



Method Detail

attachLog   [line 57]

void attachLog( Log $log)

Attaches an instance of PEAR Log

Attached instances of PEAR Log handlers will be logged to through out the use of HTTP_OAuth

  • Access: public

Parameters:

Log   $log   —  Instance of a Log

[ Top ]

buildHttpQuery   [line 139]

string buildHttpQuery( array $params)

Build HTTP Query
  • Return: HTTP query
  • Access: public

Parameters:

array   $params   —  Name => value array of parameters

[ Top ]

debug   [line 103]

void debug( string $message)

Log debug message
  • Access: public

Parameters:

string   $message   —  Debug message

[ Top ]

detachLog   [line 69]

void detachLog( Log $detach)

Detaches an instance of PEAR Log
  • Access: public

Parameters:

Log   $detach   —  Instance of PEAR Log to detach

[ Top ]

err   [line 127]

void err( string $message)

Log error message
  • Access: public

Parameters:

string   $message   —  Error message

[ Top ]

info   [line 115]

void info( string $message)

Log info message
  • Access: public

Parameters:

string   $message   —  Info message

[ Top ]

log   [line 89]

void log( string $message, string $method)

Log a message

Announces a message to log to all the attached instances of PEAR Log handlers. Second argument is the method on Log to call.

  • Access: public

Parameters:

string   $message   —  Message to announce to Logs
string   $method   —  Method to log with on Log instances

[ Top ]

urldecode   [line 192]

string urldecode( mixed $item)

URL Decode
  • Return: URL decoded string
  • Access: public

Parameters:

mixed   $item   —  Item to url decode

[ Top ]

urlencode   [line 169]

mixed urlencode( mixed $item)

URL Encode
  • Return: url encoded string or array of strings
  • Access: public

Parameters:

mixed   $item   —  string or array of items to url encode

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:55:06 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.