ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
mail_example.php
Go to the documentation of this file.
1<?php
2function mail_example()
3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $glyph = $f->symbol()->glyph()->mail("#");
9
10 //Showcase the various states of this Glyph
11 $list = $f->listing()->descriptive([
12 "Active" => $glyph,
13 "Inactive" => $glyph->withUnavailableAction(),
14 "Highlighted" => $glyph->withHighlight()
15 ]);
16
17 return $renderer->render($list);
18}
An exception for terminatinating execution or to throw for unit testing.
mail_example()
Definition: mail_example.php:2
$DIC
Definition: xapitoken.php:46