ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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\Card\Standard
;
6
16
function
base
()
17
{
18
//Init Factory and Renderer
19
global
$DIC
;
20
$f
= $DIC->ui()->factory();
21
$renderer
= $DIC->ui()->renderer();
22
23
$content =
$f
->listing()->descriptive(
24
array(
25
"Entry 1"
=>
"Some text"
,
26
"Entry 2"
=>
"Some more text"
,
27
)
28
);
29
30
$image =
$f
->image()->responsive(
31
"./assets/images/logo/HeaderIcon.svg"
,
32
"Thumbnail Example"
33
);
34
35
$card =
$f
->card()->standard(
"Title"
, $image);
36
37
//Render
38
return
$renderer
->render($card);
39
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Card\Standard\base
base()
description: > Example for rendering a base card.
Definition:
base.php:16
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\Card\Standard
Definition:
base.php:5
components
ILIAS
UI
src
examples
Card
Standard
base.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)