ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Panel\Secondary\Legacy
;
6
7
function
base
()
8
{
9
global
$DIC
;
10
$factory
=
$DIC
->ui()->factory();
11
$renderer =
$DIC
->ui()->renderer();
12
13
$actions =
$factory
->dropdown()->standard(array(
14
$factory
->button()->shy(
"ILIAS"
,
"https://www.ilias.de"
),
15
$factory
->button()->shy(
"GitHub"
,
"https://www.github.com"
)
16
));
17
18
$legacy =
$factory
->legacy(
"Legacy content"
);
19
20
$panel
=
$factory
->panel()->secondary()->legacy(
21
"Legacy panel title"
,
22
$legacy
23
)->withActions($actions);
24
25
return
$renderer->render(
$panel
);
26
}
$DIC
global $DIC
Definition:
feed.php:28
$panel
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition:
imgupload.php:198
$factory
$factory
Definition:
metadata.php:75
ILIAS\UI\examples\Panel\Secondary\Legacy
Definition:
base.php:5
ILIAS\UI\examples\Panel\Secondary\Legacy\base
base()
Definition:
base.php:7
src
UI
examples
Panel
Secondary
Legacy
base.php
Generated on Sun Nov 2 2025 22:02:02 for ILIAS by
1.9.4 (using
Doxyfile
)