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

Go to the source code of this file.

Functions

 base ()
 Note that this example is rather artificial, since the close button is only used in other components (see purpose). More...
 

Function Documentation

◆ base()

base ( )

Note that this example is rather artificial, since the close button is only used in other components (see purpose).

This examples just shows how one could render the button if implementing such a component. Note that in some cases additional CSS would be needed for placing the button properly by the surrounding component.

Definition at line 8 of file base.php.

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

9 {
10  global $DIC;
11  $f = $DIC->ui()->factory();
12  $renderer = $DIC->ui()->renderer();
13 
14  return $renderer->render($f->button()->close());
15 }
global $DIC
Definition: goto.php:24