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

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 4 of file base.php.

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

Referenced by ilDatabaseUpdateSteps\__construct(), ilTableGUI\setBase(), ilDatabaseUpdateStepsTest\setUp(), ilDatabaseUpdateStepsTest\testAchieveAllSteps(), ilDatabaseUpdateStepsTest\testAchieveSomeSteps(), ilDatabaseUpdateStepsTest\testGetStep1(), and ilDatabaseUpdateStepsTest\testGetStep4Finished2().

5 {
6  global $DIC;
7  $f = $DIC->ui()->factory();
8  $renderer = $DIC->ui()->renderer();
9 
10  $ico = $f->symbol()->icon()
11  ->standard('someExample', 'Example')
12  ->withAbbreviation('E')
13  ->withSize('medium');
14  $button = $f->button()->bulky($ico, 'Icon', '#');
15 
16  $glyph = $f->symbol()->glyph()->briefcase();
17  $button2 = $f->button()->bulky($glyph, 'Glyph', '#');
18 
19  return $renderer->render([
20  $button,
21  $button->withEngagedState(true),
22  $f->divider()->horizontal(),
23  $button2,
24  $button2->withEngagedState(true),
25  ]);
26 }
$DIC
Definition: xapitoken.php:46
+ Here is the caller graph for this function: