import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
0
libs/Zend/Service/Twitter/Exception.php
Executable file → Normal file
0
libs/Zend/Service/Twitter/Exception.php
Executable file → Normal file
@ -17,7 +17,7 @@
|
||||
* @subpackage Twitter
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Search.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Search.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -116,6 +116,7 @@ class Zend_Service_Twitter_Search extends Zend_Http_Client
|
||||
/**
|
||||
* Get the current twitter trends. Currnetly only supports json as the return.
|
||||
*
|
||||
* @throws Zend_Http_Client_Exception
|
||||
* @return array
|
||||
*/
|
||||
public function trends()
|
||||
@ -127,6 +128,11 @@ class Zend_Service_Twitter_Search extends Zend_Http_Client
|
||||
return Zend_Json::decode($response->getBody());
|
||||
}
|
||||
|
||||
/**
|
||||
* Performs a Twitter search query.
|
||||
*
|
||||
* @throws Zend_Http_Client_Exception
|
||||
*/
|
||||
public function search($query, array $params = array())
|
||||
{
|
||||
|
||||
@ -141,7 +147,7 @@ class Zend_Service_Twitter_Search extends Zend_Http_Client
|
||||
switch($key) {
|
||||
case 'geocode':
|
||||
case 'lang':
|
||||
case 'since_id':
|
||||
case 'since_id':
|
||||
$_query[$key] = $param;
|
||||
break;
|
||||
case 'rpp':
|
||||
|
Reference in New Issue
Block a user