ILIAS  release_7 Revision v7.30-3-g800a261c036
small.php File Reference

Go to the source code of this file.

Functions

 small ()
 

Function Documentation

◆ small()

small ( )

Definition at line 3 of file small.php.

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}
global $DIC
Definition: goto.php:24

References $DIC, and Vendor\Package\$f.