ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
add.php File Reference

Go to the source code of this file.

Functions

 add ()
 

Function Documentation

◆ add()

add ( )

Definition at line 2 of file add.php.

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

Referenced by ILIAS\Setup\CLI\App\__construct(), arJoinCollection\add(), ilLearningSequenceParticipants\add(), ilCourseParticipants\add(), ilGroupParticipants\add(), ilSessionParticipants\add(), arGUI\customMultiAction(), draw_shell(), ilRegistrationGUI\join(), ilStudyProgrammeProgressTest\test_invalidate_non_expired_1(), ilStudyProgrammeProgressCalculationsTest\testChangingValidity(), ilStudyProgrammeProgressCalculationsTest\testDontChangeValidityForIncomplete(), ilStudyProgrammeProgressCalculationsTest\testDontFailByFutureDeadline(), ilStudyProgrammeProgressCalculationsTest\testMarkAsIndividual(), ilStudyProgrammeProgressCalculationsTest\testUpdateFromSettingsResetsIndividual(), and ilStudyProgrammeProgressCalculationsTest\testUpdatePlanFromSettings().

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