Prepare search criteria to be used for a search
static public prepareDatasForSearch ( $itemtype, array $params, array $forcedisplay = [] ) : array | ||
$itemtype | item type | |
$params | array | array of parameters may include sort, order, start, list_limit, deleted, criteria, metacriteria |
$forcedisplay | array | array of columns to display (default empty = empty use display pref and search criterias) |
return | array | prepare to be used for a search (include criterias and others needed informations) |