suggestions
This commit is contained in:
@@ -672,6 +672,17 @@ class NetBiblio extends WebService
|
||||
return array_merge($data, $this->AddBookData($results['books']));
|
||||
}
|
||||
|
||||
/**
|
||||
* This method return a list of suggested titles for the given search terms
|
||||
* @param string $text
|
||||
* @return array
|
||||
*/
|
||||
public function Suggest($text)
|
||||
{
|
||||
$bs = new BookSearch();
|
||||
return $bs->suggest($text);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method returns the list of all volunteer readers that read book
|
||||
* in the database.
|
||||
|
||||
Reference in New Issue
Block a user