Property | Type | Description | |
---|---|---|---|
$filteredBy | the cleaned filter attributes | ||
$grid | the grid view the widget is going to be used with | ||
$model | the model that works as a filter to the grid | ||
$redirectRoute | the route to redirect when saving/removing a filter | ||
$removeFilterVar | the ajax variable that is used to check whether to delete a filter from the registry | ||
$saveFilterVar | the ajax variable that is used to check whether a filter is to be saved |
Property | Type | Description | |
---|---|---|---|
$jsonStorage | Component | ||
$registry | the name of the json registry to save the value |
Method | Description | |
---|---|---|
init ( ) | ### .init() | |
registerClientScript ( ) | ### .registerClientScript() | |
run ( ) | ### .run() |
Method | Description | |
---|---|---|
checkRequestFilters ( ) : boolean | ### .checkRequestFilters() | |
checkRequestRemovalFilter ( ) | ### .checkRequestRemovalFilter() | |
displayExtendedFilterValues ( array $filteredBy ) : string | ### .displayExtendedFilterValues() | |
displaySaveButton ( string $registryKey ) : boolean | ### .displaySaveButton() | |
displaySavedFilters ( string $registryKey ) | ### .displaySavedFilters() | |
generateRegistryItemKey ( ) : null | string | ### .generateRegistryItemKey() |
protected checkRequestFilters ( ) : boolean | ||
return | boolean |
protected checkRequestRemovalFilter ( ) |
protected displayExtendedFilterValues ( array $filteredBy ) : string | ||
$filteredBy | array | |
return | string |
protected displaySaveButton ( string $registryKey ) : boolean | ||
$registryKey | string | |
return | boolean |
protected displaySavedFilters ( string $registryKey ) | ||
$registryKey | string |
protected generateRegistryItemKey ( ) : null | string | ||
return | null | string |
public $redirectRoute |
public $removeFilterVar |