Set that the results will include adult content
Even if not all searches support this parameter, it is common enough to be part of the abstract base class.
void setAppID(
string
$id)
|
|
Set Application ID for the search
An Application ID is a string that uniquely identifies your application. Think of it as like a User-Agent string. If you have multiple applications, you should use a different ID for each one. You can register your ID and make sure nobody is already using your ID on Yahoo's Application ID registration page.
The ID defaults to "PEAR_Services_Yahoo", but you are free to change it to whatever you want. Please note that the access to the Yahoo API is not limited via the Application ID but via the IP address of the host where the package is used.
Parameters:
void setFormat(
string
$format)
|
|
Set the format to search for
The allowed values of the parameter depend on the search type. If unsure, please consult Yahoo's documentation at http://developer.yahoo.net/.
Even if not all searches support this parameter, it is common enough to be part of the abstract base class.
Parameters:
void setResultNumber(
int
$count)
|
|
Set the number of results to return.
Even if not all searches support this parameter, it is common enough to be part of the abstract base class.
Parameters:
void setStart(
int
$start)
|
|
Set the starting result position to return (1-based)
Even if not all searches support this parameter, it is common enough to be part of the abstract base class.
Parameters:
void setType(
string
$type)
|
|
Set the kind of search to submit
The allowed values of the parameter depend on the search type. If unsure, please consult Yahoo's documentation at http://developer.yahoo.net/.
Even if not all searches support this parameter, it is common enough to be part of the abstract base class.
Parameters: