ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
with_title_action.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Card\Standard
;
22
29
function
with_title_action
()
30
{
31
//Init Factory and Renderer
32
global
$DIC
;
33
$f
= $DIC->ui()->factory();
34
$renderer
= $DIC->ui()->renderer();
35
36
$image =
$f
->image()->responsive(
37
"./assets/images/logo/HeaderIcon.svg"
,
38
"Thumbnail Example"
39
);
40
41
$url
=
"http://www.ilias.de"
;
42
43
$card =
$f
->card()->standard(
"Title"
, $image)->withTitleAction(
$url
);
44
45
//Render
46
return
$renderer
->render($card);
47
}
$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:29
$url
$url
Definition:
shib_logout.php:68
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\UI\examples\Card\Standard
Definition:
base.php:21
components
ILIAS
UI
src
examples
Card
Standard
with_title_action.php
Generated on Sun Aug 31 2025 23:04:09 for ILIAS by
1.8.13 (using
Doxyfile
)