ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
inside_panel.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Legacy
;
6
17
function
inside_panel
()
18
{
19
//Init Factory and Renderer
20
global
$DIC
;
21
$f
= $DIC->ui()->factory();
22
$renderer
= $DIC->ui()->renderer();
23
24
//Init Component
25
$legacy =
$f
->legacy(
"Legacy Content"
);
26
$panel =
$f
->panel()->standard(
"Panel Title"
, $legacy);
27
28
//Render
29
return
$renderer
->render($panel);
30
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Legacy\inside_panel
inside_panel()
description: > Example for rendering a legacy box.
Definition:
inside_panel.php:17
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\Legacy
Definition:
base.php:5
components
ILIAS
UI
src
examples
Legacy
inside_panel.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)