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\Layout\Alignment\Vertical
;
22
33
function
base
()
34
{
35
global
$DIC
;
36
$ui_factory =
$DIC
[
'ui.factory'
];
37
$renderer
=
$DIC
[
'ui.renderer'
];
38
$tpl =
$DIC
[
'tpl'
];
39
$tpl->addCss(
'assets/ui-examples/css/alignment_examples.css'
);
40
41
$blocks = [
42
$ui_factory->legacy()->content(
'<div class="example_block fullheight blue">Example Block</div>'
),
43
$ui_factory->legacy()->content(
'<div class="example_block fullheight green">Another Example Block</div>'
),
44
$ui_factory->legacy()->content(
'<div class="example_block fullheight yellow">And a third block is also part of this group</div>'
)
45
];
46
47
$vertical = $ui_factory->layout()->alignment()->vertical(...$blocks);
48
return
$renderer
->render($vertical);
49
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Layout\Alignment\Vertical
Definition:
base.php:21
ILIAS\UI\examples\Layout\Alignment\Vertical\base
base()
Definition:
base.php:33
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Layout
Alignment
Vertical
base.php
Generated on Sat Oct 18 2025 23:04:39 for ILIAS by
1.9.4 (using
Doxyfile
)