Docs
Addons
Community
News
Documentation
/
API
BearFramework\DataList::filterBy
Filters the elements of the list by specific property value.
public
self filterBy
(
string $property
,
mixed $value
[,
string $operator
=
'equal'
] )
Parameters
property
The property name.
value
The value of the property.
operator
Available values: equal, notEqual, regExp, notRegExp, startWith, notStartWith, endWith, notEndWith, inArray, notInArray.
Returns
A reference to the list.
Details
BearFramework\DataList
Location: ~/src/DataList.php
back to index
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.