ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
with_title_action.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
13
function
with_title_action
()
14
{
15
//Init Factory and Renderer
16
global
$DIC
;
17
$f
= $DIC->ui()->factory();
18
$renderer
= $DIC->ui()->renderer();
19
20
$image =
$f
->image()->responsive(
21
"./assets/images/logo/HeaderIcon.svg"
,
22
"Thumbnail Example"
23
);
24
25
$url
=
"http://www.ilias.de"
;
26
27
$card =
$f
->card()->standard(
"Title"
, $image)->withTitleAction(
$url
);
28
29
//Render
30
return
$renderer
->render($card);
31
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Card\Standard\with_title_action
with_title_action()
expected output: > ILIAS shows a base ILIAS-Logo.
Definition:
with_title_action.php:13
$url
$url
Definition:
shib_logout.php:63
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
with_title_action.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)