Zend_Service_YahooLocated in /Zend/Service/Yahoo.php (line 96)
string
$appId
(line 103)
Yahoo Developer Application ID
Zend_Rest_Client
$_rest
(line 110)
Zend_Rest_Client instance
static _checkErrors (line 595)
Check if response is an error
Constructor __construct (line 117)
Constructs a new search object for the given application id.
imageSearch (line 141)
Perform a search of images. The most basic query consists simply of a plain text search, but you can also specify the type of image, the format, color, etc.
The specific options are: 'type' => (all|any|phrase) How to parse the query terms 'results' => int How many results to return, max is 50 'start' => int The start offset for search results 'format' => (any|bmp|gif|jpeg|png) The type of images to search for 'coloration' => (any|color|bw) The coloration of images to search for 'adult_ok' => bool Flag to allow 'adult' images.
localSearch (line 196)
Perform a search on local.yahoo.com. The basic search consists of a query and some fragment of location information; for example zipcode, latitude/longitude, or street address.
Query options include: 'results' => int How many results to return, max is 50 'start' => int The start offset for search results 'sort' => (relevance|title|distance|rating) How to order your results
'radius' => float The raidus (in miles) in which to search
'longitude' => float The longitude of the location to search around 'latitude' => float The latitude of the location to search around
'zip' => string The zipcode to search around
'street' => string The street address to search around 'city' => string The city for address search 'state' => string The state for address search 'location' => string An adhoc location string to search around
newsSearch (line 241)
Execute a search on news.yahoo.com. This method minimally takes a text query to search on.
Query options coonsist of:
'results' => int How many results to return, max is 50 'start' => int The start offset for search results 'sort' => (rank|date) How to order your results 'language' => lang The target document language to match 'type' => (all|any|phrase) How the query should be parsed 'site' => string A site to which your search should be restricted
webSearch (line 285)
Perform a web content search on search.yahoo.com. A basic query
consists simply of a text query. Additional options that can be specified consist of: 'results' => int How many results to return, max is 50 'start' => int The start offset for search results 'language' => lang The target document language to match 'type' => (all|any|phrase) How the query should be parsed 'site' => string A site to which your search should be restricted 'format' => (any|html|msword|pdf|ppt|rss|txt|xls) 'adult_ok' => bool permit 'adult' content in the search results 'similar_ok' => bool permit similar results in the result set 'country' => string The country code for the content searched 'license' => (any|cc_any|cc_commercial|cc_modifiable) The license of content being searched
_compareOptions (line 564)
Utility function to check for a difference between two arrays.
_prepareOptions (line 513)
Prepare options for sending to Yahoo!
_validateImageSearch (line 379)
Validate Image Search Options
_validateInArray (line 581)
Check that a named value is in the given array
_validateLanguage (line 546)
Utility function to confirm chosen language is supported by Yahoo!
_validateLocalSearch (line 318)
Validate Local Search Options
_validateNewsSearch (line 440)
Validate News Search Options
_validateNumber (line 532)
Utility function to check if input is an int and falls in a specified range.
_validateWebSearch (line 475)
Validate Web Search Options
Documentation generated on Wed, 21 Feb 2007 12:01:36 -0800 by phpDocumentor 1.3.1