ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Panel\Secondary\Legacy
;
22
32
function
base
()
33
{
34
global
$DIC
;
35
$factory =
$DIC
->ui()->factory();
36
$renderer
=
$DIC
->ui()->renderer();
37
38
$actions = $factory->dropdown()->standard(array(
39
$factory->button()->shy(
"ILIAS"
,
"https://www.ilias.de"
),
40
$factory->button()->shy(
"GitHub"
,
"https://www.github.com"
)
41
));
42
43
$legacy = $factory->legacy()->content(
"Legacy content"
);
44
45
$panel = $factory->panel()->secondary()->legacy(
46
"Legacy panel title"
,
47
$legacy
48
)->withActions($actions);
49
50
return
$renderer
->render($panel);
51
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Panel\Secondary\Legacy
Definition:
base.php:21
ILIAS\UI\examples\Panel\Secondary\Legacy\base
base()
Definition:
base.php:32
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Panel
Secondary
Legacy
base.php
Generated on Sat Oct 18 2025 23:04:40 for ILIAS by
1.9.4 (using
Doxyfile
)