|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Filter service. More...
Collaboration diagram for ilUIFilterService:Public Member Functions | |
| __construct (ilUIService $service, ilUIServiceDependencies $deps) | |
| Constructor. More... | |
| standard ( $filter_id, $base_action, array $inputs, array $is_input_initially_rendered, $is_activated=false, $is_expanded=false) | |
| Get standard filter instance. More... | |
| getData (Filter\Standard $filter) | |
| Get data. More... | |
Data Fields | |
| const | CMD_TOGGLE_ON = "toggleOn" |
| const | CMD_TOGGLE_OFF = "toggleOff" |
| const | CMD_EXPAND = "expand" |
| const | CMD_COLLAPSE = "collapse" |
| const | CMD_APPLY = "apply" |
| const | CMD_RESET = "reset" |
Protected Member Functions | |
| writeFilterStatusToSession ($filter_id, $inputs) | |
| Write filter status to session (filter activated/expanded, inputs being rendered or not) More... | |
| handleRendering ($filter_id, $inputs) | |
| Handle rendering of inputs to session. More... | |
| handleReset (string $filter_id) | |
| Handle reset command. More... | |
| handleApply (string $filter_id, Filter\Standard $filter) | |
| Handle apply command. More... | |
Protected Attributes | |
| $service | |
| $ui | |
| $session | |
| $request | |
Filter service.
Wraps around KS filter container.
Definition at line 15 of file class.ilUIFilterService.php.
| ilUIFilterService::__construct | ( | ilUIService | $service, |
| ilUIServiceDependencies | $deps | ||
| ) |
Constructor.
| ilUIService | $service | |
| ilUIServiceDependencies | $deps |
Definition at line 51 of file class.ilUIFilterService.php.
References $service, ilUIServiceDependencies\getRequest(), ilUIServiceDependencies\getSession(), ilUIServiceDependencies\ui(), and ui().
Here is the call graph for this function:| ilUIFilterService::getData | ( | Filter\Standard | $filter | ) |
Get data.
| Filter\Standard | $filter |
Definition at line 135 of file class.ilUIFilterService.php.
References $result.
|
protected |
Handle apply command.
| string | $filter_id | |
| Filter\Standard | $filter |
Definition at line 211 of file class.ilUIFilterService.php.
References $i.
|
protected |
Handle rendering of inputs to session.
| string | $filter_id | |
| array | $inputs |
Definition at line 179 of file class.ilUIFilterService.php.
References $i.
|
protected |
Handle reset command.
| string | $filter_id |
Definition at line 195 of file class.ilUIFilterService.php.
| ilUIFilterService::standard | ( | $filter_id, | |
| $base_action, | |||
| array | $inputs, | ||
| array | $is_input_initially_rendered, | ||
$is_activated = false, |
|||
$is_expanded = false |
|||
| ) |
Get standard filter instance.
| string | $filter_id | |
| string | $base_action | |
| FilterInput[] | $inputs | |
| bool[] | $is_input_initially_rendered | |
| bool | $is_activated | |
| bool | $is_expanded |
Definition at line 71 of file class.ilUIFilterService.php.
|
protected |
Write filter status to session (filter activated/expanded, inputs being rendered or not)
| string | $filter_id | |
| array | $inputs |
Definition at line 150 of file class.ilUIFilterService.php.
|
protected |
Definition at line 44 of file class.ilUIFilterService.php.
|
protected |
Definition at line 29 of file class.ilUIFilterService.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilUIFilterService.php.
|
protected |
Definition at line 34 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_APPLY = "apply" |
Definition at line 22 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_COLLAPSE = "collapse" |
Definition at line 21 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_EXPAND = "expand" |
Definition at line 20 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_RESET = "reset" |
Definition at line 23 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_TOGGLE_OFF = "toggleOff" |
Definition at line 19 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_TOGGLE_ON = "toggleOn" |
Definition at line 18 of file class.ilUIFilterService.php.