ILIAS
release_8 Revision v8.23
◀ 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
7
function
with_title_action
()
8
{
9
//Init Factory and Renderer
10
global
$DIC
;
11
$f
= $DIC->ui()->factory();
12
$renderer = $DIC->ui()->renderer();
13
14
$image =
$f
->image()->responsive(
15
"./templates/default/images/HeaderIcon.svg"
,
16
"Thumbnail Example"
17
);
18
19
$url
=
"http://www.ilias.de"
;
20
21
$card =
$f
->card()->standard(
"Title"
, $image)->withTitleAction(
$url
);
22
23
//Render
24
return
$renderer->render($card);
25
}
ILIAS\UI\examples\Card\Standard\with_title_action
with_title_action()
Definition:
with_title_action.php:7
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\Card\Standard
Definition:
base.php:5
$url
$url
Definition:
proxy_ylocal.php:28
src
UI
examples
Card
Standard
with_title_action.php
Generated on Sun Aug 31 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)