ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
multiple_glyphs.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
33 function multiple_glyphs()
34 {
35  global $DIC;
36  $f = $DIC->ui()->factory();
37  $renderer = $DIC->ui()->renderer();
38 
39  $note = $f->symbol()->glyph()->note("#")
40  ->withCounter($f->counter()->novelty(100))
41  ->withCounter($f->counter()->status(8));
42 
43  $tag = $f->symbol()->glyph()->tag("#")
44  ->withCounter($f->counter()->novelty(1))
45  ->withCounter($f->counter()->status(800));
46 
47  $comment = $f->symbol()->glyph()->comment("#")
48  ->withCounter($f->counter()->novelty(1))
49  ->withCounter($f->counter()->status(8));
50 
51  return $renderer->render($note) . $renderer->render($tag) . $renderer->render($comment);
52 }
$renderer
multiple_glyphs()
description: > Example for rendering multiple glyphs with status counters
global $DIC
Definition: shib_login.php:22
$comment
Definition: buildRTE.php:72