Signify\ORM\SearchFilterableArrayList
An ArrayList implementation that can be filtered using SearchFilters.
Synopsis
class SearchFilterableArrayList
extends ArrayList
{
- // methods
- public void find()
- public void filter()
- public void filterAny()
- public void exclude()
- public void excludeAny()
- protected LinqDataQuery createFilteredQuery()
- protected SearchFilter createSearchFilter()
Hierarchy
Extends
- SilverStripe\ORM\ArrayList
Methods
protected
- createFilteredQuery() — Create a linq query which has the provided filters applied.
- createSearchFilter() — Given a filter expression and value construct a {@see SearchFilter} instance
public
- exclude() — Exclude the list to not contain items with these charactaristics Note that search filters can also be used.
- excludeAny() — Exclude the list to not contain items matching any of these charactaristics Note that search filters can also be used.
- filter() — Filter the list to include items with these charactaristics.
- filterAny() — Return a copy of this list which contains items matching any of these charactaristics.
- find() — Find the first item of this list where the given key = value Note that search filters can also be used.