ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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 Tue Apr 8 2025 20:01:35 for ILIAS by
1.8.13 (using
Doxyfile
)