Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_Twitter_Search Class Reference
Inheritance diagram for Zend_Service_Twitter_Search:
Collaboration diagram for Zend_Service_Twitter_Search:

Public Member Functions

 __construct ($responseType= 'json')
 setResponseType ($responseType= 'json')
 getResponseType ()
 trends ()
 search ($query, array $params=array())

Protected Attributes

 $_responseType = 'json'
 $_responseTypes
 $_uri

Detailed Description

Definition at line 46 of file Search.php.


Constructor & Destructor Documentation

__construct ( responseType = 'json')

Constructor

Parameters:
string$returnType
Returns:
void

Reimplemented from Zend_Rest_Client.

Definition at line 76 of file Search.php.

Here is the call graph for this function:


Member Function Documentation

Retrieve responseType

Returns:
string

Definition at line 106 of file Search.php.

search ( query,
array params = array() 
)

Performs a Twitter search query.

Exceptions:
Zend_Http_Client_Exception

Definition at line 129 of file Search.php.

Here is the call graph for this function:

setResponseType ( responseType = 'json')

set responseType

Parameters:
string$responseType
Exceptions:
Zend_Service_Twitter_Exception
Returns:
Zend_Service_Twitter_Search

Definition at line 91 of file Search.php.

Here is the caller graph for this function:

trends ( )

Get the current twitter trends. Currnetly only supports json as the return.

Exceptions:
Zend_Http_Client_Exception
Returns:
array

Definition at line 117 of file Search.php.

Here is the call graph for this function:


Field Documentation

$_responseType = 'json' [protected]

Definition at line 52 of file Search.php.

$_responseTypes [protected]
Initial value:
 array(
        'atom',
        'json'
    )

Definition at line 58 of file Search.php.

$_uri [protected]

Reimplemented from Zend_Rest_Client.

Definition at line 68 of file Search.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations