ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
notification.php File Reference

Go to the source code of this file.

Functions

 notification ()
 

Function Documentation

◆ notification()

notification ( )

Definition at line 2 of file notification.php.

References $DIC, and Vendor\Package\$f.

Referenced by ilCalendarAppointmentGUI\distributeUserNotifications(), ilCalendarSettings\enableNotification(), ilCalendarEntry\enableNotification(), ilCalendarAppointmentGUI\initAppointment(), ilCalendarAppointmentGUI\initForm(), ilForumPost\insert(), ilForumPost\isNotificationEnabled(), ilCalendarAppointmentGUI\loadNotificationRecipients(), ilForumPost\read(), ILIAS\UI\Implementation\Component\Item\Renderer\renderNotification(), ilCalendarAppointmentGUI\save(), ilObjDataCollection\setNotification(), ilForumPost\setNotification(), ilForumPost\update(), and ilCalendarAppointmentGUI\update().

3 {
4  global $DIC;
5  $f = $DIC->ui()->factory();
6  $renderer = $DIC->ui()->renderer();
7 
8  $glyph = $f->symbol()->glyph()->notification("#");
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 }
$DIC
Definition: xapitoken.php:46
+ Here is the caller graph for this function: