Signify\SearchFilterArrayList\SearchFilterableArrayList
Synopsis
class SearchFilterableArrayList
extends ArrayList
{
- // methods
- public void find()
- public void filter()
- public void filterAny()
- public void exclude()
- public void excludeAny()
- protected SearchFilterableArrayList filterOrExclude()
- protected bool checkValueMatchesSearchFilter()
- public SearchFilter createSearchFilter()
- protected array getSupportedSearchFilterClasses()
- protected array getSupportedModifiers()
Hierarchy
Extends
- SilverStripe\ORM\ArrayList
Tasks
Line | Task |
---|---|
138+ | : Consider respecting dot notation in the future. |
Methods
protected
- checkValueMatchesSearchFilter() — Determine if an item is matched by a given SearchFilter.
- filterOrExclude() — Apply the appropriate filtering or excluding
- getSupportedModifiers() — Get the SearchFilter modifiers supported by this class.
- getSupportedSearchFilterClasses() — Get the SearchFilter classes supported by this class.
public
- createSearchFilter() — Given a filter expression and value construct a {@see SearchFilter} instance
- exclude() — Return a copy of the list excluding any items that have all of these characteristics Note that search filters can also be used, but dot notation is not respected.
- excludeAny() — Return a copy of the list excluding any items that have any of these characteristics Note that search filters can also be used, but dot notation is not respected.
- filter() — Filter the list to include items with these characteristics.
- filterAny() — Return a copy of this list which contains items matching any of these characteristics.
- find() — Find the first item of this list where the given key = value Note that search filters can also be used, but dot notation is not respected.