ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Item\Standard
;
6
10
function
base
()
11
{
12
global
$DIC
;
13
$f
= $DIC->ui()->factory();
14
$renderer = $DIC->ui()->renderer();
15
$actions =
$f
->dropdown()->standard(array(
16
$f
->button()->shy(
"ILIAS"
,
"https://www.ilias.de"
),
17
$f
->button()->shy(
"GitHub"
,
"https://www.github.com"
)
18
));
19
$app_item =
$f
->item()->standard(
"Item Title"
)
20
->withActions($actions)
21
->withProperties(array(
22
"Origin"
=>
"Course Title 1"
,
23
"Last Update"
=>
"24.11.2011"
,
24
"Location"
=>
"Room 123, Main Street 44, 3012 Bern"
))
25
->withDescription(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
);
26
return
$renderer->render($app_item);
27
}
ILIAS\UI\examples\Item\Standard
Definition:
base.php:5
ILIAS\UI\examples\Item\Standard\base
base()
Base.
Definition:
base.php:10
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Item
Standard
base.php
Generated on Fri Apr 25 2025 22:02:44 for ILIAS by
1.8.13 (using
Doxyfile
)