Class Zend_Service_Twitter_Search

Description
  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Service/Twitter/Search.php (line 46)

Zend_Service_Abstract
   |
   --Zend_Rest_Client
      |
      --Zend_Service_Twitter_Search
Variable Summary
Method Summary
 void __construct ([ $responseType = 'json'], string $returnType)
 string getResponseType ()
 void search ( $query, [ $params = array()])
 Zend_Service_Twitter_Search setResponseType ([string $responseType = 'json'])
 array trends ()
Variables
String $_responseType = 'json' (line 52)

Return Type

  • access: protected
array $_responseTypes = array(
'atom',
'json'
)
(line 58)

Response Format Types

  • access: protected
Zend_Uri_Http $_uri (line 68)

Uri Compoent

  • access: protected

Redefinition of:
Zend_Rest_Client::$_uri
Zend_Uri of this web service

Inherited Variables

Inherited from Zend_Rest_Client

Zend_Rest_Client::$_data

Inherited from Zend_Service_Abstract

Zend_Service_Abstract::$_httpClient
Methods
Constructor __construct (line 76)

Constructor

  • access: public
void __construct ([ $responseType = 'json'], string $returnType)
  • string $returnType
  • $responseType

Redefinition of:
Zend_Rest_Client::__construct()
Constructor
getResponseType (line 106)

Retrieve responseType

  • access: public
string getResponseType ()
search (line 129)

Performs a Twitter search query.

  • throws: Zend_Http_Client_Exception
  • access: public
void search ( $query, [ $params = array()])
  • $query
  • array $params
setResponseType (line 91)

set responseType

  • throws: Zend_Service_Twitter_Exception
  • access: public
Zend_Service_Twitter_Search setResponseType ([string $responseType = 'json'])
  • string $responseType
trends (line 117)

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

  • throws: Zend_Http_Client_Exception
  • access: public
array trends ()

Inherited Methods

Inherited From Zend_Rest_Client

 Zend_Rest_Client::__construct()
 Zend_Rest_Client::getUri()
 Zend_Rest_Client::restDelete()
 Zend_Rest_Client::restGet()
 Zend_Rest_Client::restPost()
 Zend_Rest_Client::restPut()
 Zend_Rest_Client::setUri()
 Zend_Rest_Client::_performPost()
 Zend_Rest_Client::__call()

Inherited From Zend_Service_Abstract

 Zend_Service_Abstract::getHttpClient()
 Zend_Service_Abstract::setHttpClient()

Documentation generated on Mon, 21 Jun 2010 15:43:32 -0400 by phpDocumentor 1.4.3