Searches for handsets based on supplied criteria returning a wurflResultSet object. Handsets can be searched via user agent or wurflID and either specific matches or only root level devices returned.
Example:
$oSearch = new wurflSearch();
$oSearch->setRootDevices(true);
$oSearch->setSearchField(wurflSearch::SEARCH_FIELD_USER_AGENT);
$oSearch->setKeywords('w880i');
$oResults = $oSearch->search();
foreach ( $oResults as $oDevice ) {
// do something with results...
}
public search()
Runs the search using the supplied data
public getRootDevices()
Returns $_RootDevices
public setRootDevices($inRootDevices)
Set $_RootDevices to $inRootDevices
public getSearchField()
Returns $_SearchField
public setSearchField($inSearchField)
Set $_SearchField to $inSearchField