ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
base_text_block.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Panel\Standard
;
22
32
function
base_text_block
()
33
{
34
global
$DIC
;
35
$f
= $DIC->ui()->factory();
36
$renderer
= $DIC->ui()->renderer();
37
38
$panel =
$f
->panel()->standard(
39
"Panel Title"
,
40
$f
->legacy()->content(
"Some Content"
)
41
);
42
43
return
$renderer
->render($panel);
44
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Panel\Standard
Definition:
base_text_block.php:21
ILIAS\UI\examples\Panel\Standard\base_text_block
base_text_block()
description: > Example for rendering a standard panel.
Definition:
base_text_block.php:32
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Panel
Standard
base_text_block.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)