ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
with_novelty.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
32function with_novelty()
33{
34 global $DIC;
35 $f = $DIC->ui()->factory();
36 $renderer = $DIC->ui()->renderer();
37
38 return $renderer->render(
39 $f->button()->shy('', '#')->withSymbol(
40 $f->symbol()->glyph()->mail()
41 ->withCounter($f->counter()->novelty(1))
42 ->withCounter($f->counter()->status(8)),
43 )
44 );
45}
$renderer
global $DIC
Definition: shib_login.php:26