ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
with_novelty.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
32 function with_novelty()
33 {
34  global $DIC;
35  $f = $DIC->ui()->factory();
36  $renderer = $DIC->ui()->renderer();
37 
38  return $renderer->render(
39  $f->symbol()->glyph()->mail("#")
40  ->withCounter($f->counter()->novelty(1))
41  ->withCounter($f->counter()->status(8))
42  );
43 }
$renderer
with_novelty()
description: > Base example for rendering a status counter with novelty
global $DIC
Definition: shib_login.php:22