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