ListOfDurations
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user