ILIAS
trunk Revision v12.0_alpha-1227-g7ff6d300864
◀ ilDoc Overview
like.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Symbol\Glyph\Like
;
22
36
function
like
()
37
{
38
global
$DIC
;
39
$f
=
$DIC
->ui()->factory();
40
$renderer
=
$DIC
->ui()->renderer();
41
42
$glyph =
$f
->symbol()->glyph()->like();
43
44
//Showcase the various states of this Glyph
45
$list =
$f
->listing()->descriptive([
46
"Standard"
=> $glyph,
47
"Highlighted"
=> $glyph->withHighlight(),
48
]);
49
50
return
$renderer
->render($list);
51
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Symbol\Glyph\Like
Definition:
like.php:21
ILIAS\UI\examples\Symbol\Glyph\Like\like
like()
Definition:
like.php:36
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Symbol
Glyph
Like
like.php
Generated on Wed Apr 8 2026 23:06:39 for ILIAS by
1.9.4 (using
Doxyfile
)