Squiz Matrix
4.12.2
|
Static Public Member Functions | |
static | isAvailable () |
static | processSearch ($search_terms, $restrict_statuses=Array(), $restrict_asset_types=Array()) |
Definition at line 30 of file backend_search.inc.
|
static |
Is backend search available?
For backend search to be available, the search manager must be installed.
Definition at line 43 of file backend_search.inc.
|
static |
Process a simple search for the backend interface
The $restrict_statuses parameter, if specified, should be an array of statuses, rather than a bitmask, eg. Array(SQ_STATUS_UNDER_CONSTRUCTION, SQ_STATUS_LIVE)
The $restrict_asset_types parameter, if specified, should be specified as an array of (asset type => inherit flag) eg. Array('file' => TRUE, 'folder' => FALSE)
string | $search_terms | The search term(s) to search upon |
array | $restrict_statuses | If not empty, restrict statuses to these ones, otherwise search all statuses |
array | $restrict_asset_types | If not empty, restrict types searched for to these ones, otherwise search all asset types |
Definition at line 72 of file backend_search.inc.