Method |
Description |
|
__call ( string $method, array $args ) |
Magic method to add filters using custom types. |
|
__construct ( Cake\Datasource\RepositoryInterface $repository ) |
Constructor |
|
add ( string $name, string $filter, array $options = [] ) |
Adds a new filter to the active collection. |
|
all ( ) : array |
Return all configured types. |
|
boolean ( string $name, array $config = [] ) |
boolean method |
|
callback ( string $name, array $config = [] ) |
callback method |
|
collection ( string | null $name = null ) : mixed |
Sets or gets the filter collection name. |
|
compare ( string $name, array $config = [] ) |
compare method |
|
custom ( string $name, array $config = [] ) |
custom method |
|
finder ( string $name, array $config = [] ) |
finder method |
|
getFilters ( string $collection = 'default' ) : array |
Gets all filters in a given collection. |
|
like ( string $name, array $config = [] ) |
like method |
|
loadFilter ( string $name, string $filter, array $options = [] ) : Base |
Loads a search filter. |
|
remove ( string $name ) : void |
Removes filter from the active collection. |
|
repository ( ) : Cake\Datasource\RepositoryInterface |
Return repository instance. |
|
table ( ) : Table |
Return Table |
|
value ( string $name, array $config = [] ) |
value method |
|