ListOfDurations

This commit is contained in:
Gilles Crettenand
2015-06-17 13:09:09 +02:00
parent 0129588d21
commit c872c7b9bc
2 changed files with 59 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ use BSR\Lib\WebService;
class NetBiblio extends WebService
{
/** @var string $version version number */
public static $version = '1.0.4';
public static $version = '1.0.5';
private $login = '';
private $client = 'website';
@@ -721,6 +721,16 @@ class NetBiblio extends WebService
return $bs->suggest($text);
}
/**
* This method returns the list of all volunteer readers that read book
* in the database.
* @return array
*/
public function ListOfDurations()
{
return BookSearch::GetTermsRange('duration');
}
/**
* This method returns the list of all volunteer readers that read book
* in the database.