|
ILIAS
release_8 Revision v8.24
|
Filter service. More...
Collaboration diagram for ilUIFilterService:Public Member Functions | |
| __construct (ilUIService $service, ilUIServiceDependencies $deps) | |
| standard (string $filter_id, string $base_action, array $inputs, array $is_input_initially_rendered, bool $is_activated=false, bool $is_expanded=false) | |
| Get standard filter instance. More... | |
| getData (Filter\Standard $filter) | |
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 (string $filter_id, array $inputs) | |
| Write filter status to session (filter activated/expanded, inputs being rendered or not) More... | |
| handleRendering (string $filter_id, array $inputs) | |
| Handle rendering of inputs to session. More... | |
| handleReset (string $filter_id) | |
| handleApplyAndToggle (string $filter_id, Filter\Standard $filter) | |
Protected Attributes | |
| ilUIService | $service |
| UIServices | $ui |
| ilUIFilterServiceSessionGateway | $session |
| ilUIFilterRequestAdapter | $request |
Filter service.
Wraps around KS filter container.
Definition at line 30 of file class.ilUIFilterService.php.
| ilUIFilterService::__construct | ( | ilUIService | $service, |
| ilUIServiceDependencies | $deps | ||
| ) |
Definition at line 45 of file class.ilUIFilterService.php.
References $service, ilUIServiceDependencies\getRequest(), ilUIServiceDependencies\getSession(), ILIAS\Repository\ui(), and ilUIServiceDependencies\ui().
Here is the call graph for this function:| ilUIFilterService::getData | ( | Filter\Standard | $filter | ) |
Definition at line 133 of file class.ilUIFilterService.php.
References $i.
|
protected |
Definition at line 203 of file class.ilUIFilterService.php.
References $i, and ILIAS\UI\Component\Input\Container\Filter\Filter\getData().
Here is the call graph for this function:
|
protected |
Handle rendering of inputs to session.
| string | $filter_id | |
| FilterInput[] | $inputs |
Definition at line 184 of file class.ilUIFilterService.php.
References $i, and ILIAS\UI\Implementation\Component\Input\$inputs.
|
protected |
Definition at line 195 of file class.ilUIFilterService.php.
| ilUIFilterService::standard | ( | string | $filter_id, |
| string | $base_action, | ||
| array | $inputs, | ||
| array | $is_input_initially_rendered, | ||
| bool | $is_activated = false, |
||
| bool | $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 65 of file class.ilUIFilterService.php.
|
protected |
Write filter status to session (filter activated/expanded, inputs being rendered or not)
| string | $filter_id | |
| FilterInput[] | $inputs |
Definition at line 151 of file class.ilUIFilterService.php.
References ILIAS\UI\Implementation\Component\Input\$inputs.
|
protected |
Definition at line 43 of file class.ilUIFilterService.php.
|
protected |
Definition at line 40 of file class.ilUIFilterService.php.
Referenced by __construct().
|
protected |
Definition at line 42 of file class.ilUIFilterService.php.
|
protected |
Definition at line 41 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_APPLY = "apply" |
Definition at line 37 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_COLLAPSE = "collapse" |
Definition at line 36 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_EXPAND = "expand" |
Definition at line 35 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_RESET = "reset" |
Definition at line 38 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_TOGGLE_OFF = "toggleOff" |
Definition at line 34 of file class.ilUIFilterService.php.
| const ilUIFilterService::CMD_TOGGLE_ON = "toggleOn" |
Definition at line 33 of file class.ilUIFilterService.php.