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
Location: ~/src/DataList.php
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.