Property | Type | Description | |
---|---|---|---|
$subfilterModifiers | array | ||
$subfilters | array |
Method | Description | |
---|---|---|
__construct ( string $fullName, mixed $value = false, array $modifiers = [], array $otherFields = [] ) | ||
apply ( DataQuery $query ) | ||
setModifiers ( array $modifiers ) | ||
setSubfilters ( array $fieldNames ) | ||
setValue ( string $value ) |
Method | Description | |
---|---|---|
shouldSplitWords ( ) : boolean |
public __construct ( string $fullName, mixed $value = false, array $modifiers = [], array $otherFields = [] ) | ||
$fullName | string | Determines the name of the field, as well as the searched database column. Can contain a relation name in dot notation, which will automatically join the necessary tables (e.g. "Comments.Name" to join the "Comments" has-many relationship and search the "Name" column when applying this filter to a SiteTree class). |
$value | mixed | [optional] |
$modifiers | array | [optional] |
$otherFields | array | [optional] |