ILIAS  release_8 Revision v8.23
with_novelty.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function with_novelty()
8 {
9  global $DIC;
10  $f = $DIC->ui()->factory();
11  $renderer = $DIC->ui()->renderer();
12 
13  return $renderer->render(
14  $f->symbol()->glyph()->mail("#")
15  ->withCounter($f->counter()->novelty(1))
16  ->withCounter($f->counter()->status(8))
17  );
18 }
global $DIC
Definition: feed.php:28