ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
small
small()
Definition:
small.php:3
$DIC
$DIC
Definition:
xapitoken.php:46
src
UI
examples
ViewControl
Sortation
small.php
Generated on Wed Sep 3 2025 20:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)