Stud.IP
5.4
|
Static Public Member Functions | |
static | catalogsConfigured (bool $exclude_local=false) |
static | search (array $search_parameters=[], string $order_by=LibrarySearch::ORDER_BY_RELEVANCE, int $limit=100) |
This is a helper class for the library search functionality.
|
static |
Checks whether catalogs are configured or not.
bool | Whether to exclude local catalogs from the list of configured catalogs (true) or not (false). Defaults to false. |
|
static |
Starts a search in the configured library catalogs. If a local catalog is configured, its results are compared to the other catalogs results to identify matches that are available in the local catalog.
array | $search_parameters | The search parameters to be used. |
string | $order_by | The ordering of the search results. |
int | $limit | The maximum amount of results for each catalog. |
Exception | If no library catalogs are configured. |