Method |
Description |
|
__construct ( DataGrid $grid, string $key, string $name, string | array $column ) |
|
|
addAttribute ( string $name, mixed $value ) |
|
|
addAttribute ( string $name, mixed $value ) : static |
|
|
getAttribtues ( ) : array |
|
|
getAttributes ( ) |
|
|
getColumn ( ) : string |
Get filter column |
|
getCondition ( ) : array |
Get filter condition |
|
getConditionCallback ( ) : callable |
Get custom filter condition |
|
getKey ( ) : mixed |
Get filter key |
|
getName ( ) : string |
Get filter name |
|
getPlaceholder ( ) : string |
Get html attr placeholder |
|
getTemplate ( ) : string |
Get filter template path |
|
getType ( ) : string |
|
|
getValue ( ) : mixed |
Get filter value |
|
hasConditionCallback ( ) : boolean |
Tell whether custom condition_callback on filter is set |
|
isValueSet ( ) : boolean |
Tell whether value has been set in this fitler |
|
setCondition ( callable $condition_callback ) |
Set custom condition on filter |
|
setPlaceholder ( string $placeholder ) : static |
Set html attr placeholder |
|
setTemplate ( string $template ) : static |
Filter may have its own template |
|
setValue ( mixed $value ) : static |
Set filter value |
|