Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Jarves
Storage
AbstractStorage
search
Jarves\Storage\AbstractStorage::search PHP Method
AbstractStorage Class Documentation
Show file
Open project: jarves/jarves
search()
public
method
Returns a array of object items. Necessary fields are all primary keys and the label field, defined in Object::$labelField or Object::$treeLabel. Optional is a field key '_label', which is being used as label in the search interfaces as label.
public
search
(
string
$query
,
Condition
$condition
= null,
integer
$max
= 20 ) :
array
|
null
$query
string
$condition
Jarves\Configuration\Condition
$max
integer
return
array
|
null
public function search($query, Condition $condition = null, $max = 20) { }
AbstractStorage
add
clear
clearCache
configure
drop
export
getBranch
getBranchChildrenCount
getCount
getDefinition
getField
getItem
getItems
getNestedSubCondition
getObjectKey
getParent
getParentId
getParents
getPrimaryKeys
getRoots
move
normalizePrimaryKey
patch
primaryStringToArray
remove
search
setDefinition
setPrimaryKeys
update