API Documentation

Zend/Service/Twitter/Search.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service  
Subpackage
Twitter  
Version
$Id: Search.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Service_Twitter_Search

Package: Zend\Service\Twitter

Parent(s)
\Zend_Rest_Client < \Zend_Service_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

PropertyprotectedString  $_responseType= ''json''

Return Type

Default value'json'Details
Type
String
Propertyprotectedarray  $_responseTypes= 'array( 'atom''

Response Format Types

Default valuearray( 'atom'Details
Type
array
Propertyprotected\Zend_Uri_Http  $_uri= ''

Uri Compoent

Details
Type
\Zend_Uri_Http

Methods

methodpublic__construct(  $responseType = 'json' ) : void

Constructor

Parameters
Name Type Description
$responseType
methodpublicgetResponseType( ) : string

Retrieve responseType

Returns
Type Description
string
methodpublicsearch(  $query,  $params = array() ) : void

Performs a Twitter search query.

Parameters
Name Type Description
$query
$params
Throws
Exception Description
\Zend_Http_Client_Exception
methodpublicsetResponseType( string $responseType = 'json' ) : \Zend_Service_Twitter_Search

set responseType

Parameters
Name Type Description
$responseType string
Returns
Type Description
\Zend_Service_Twitter_Search
Throws
Exception Description
\Zend_Service_Twitter_Exception
methodpublictrends( ) : array

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

Returns
Type Description
array
Throws
Exception Description
\Zend_Http_Client_Exception
Documentation was generated by DocBlox 0.15.1.