ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
small.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\ViewControl\Sortation
;
6
7
//This can be used, when space is very scarce and the label can not be displayed
8
function
small
()
9
{
10
//Loading factories
11
global
$DIC
;
12
$f
= $DIC->ui()->factory();
13
$renderer = $DIC->ui()->renderer();
14
15
$options = array(
16
'default_option'
=>
'Default Ordering'
,
17
'latest'
=>
'Most Recent Ordering'
,
18
'oldest'
=>
'Oldest Ordering'
19
);
20
21
//Note that no label is attached
22
$s =
$f
->viewControl()->sortation($options)
23
->withTargetURL($DIC->http()->request()->getRequestTarget(),
'sortation'
);
24
25
26
return
$renderer->render($s);
27
}
ILIAS\UI\examples\ViewControl\Sortation\small
small()
Definition:
small.php:8
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\ViewControl\Sortation
Definition:
_Base.php:5
src
UI
examples
ViewControl
Sortation
small.php
Generated on Sun Aug 31 2025 22:02:50 for ILIAS by
1.8.13 (using
Doxyfile
)