ILIAS  trunk Revision v11.0_alpha-2406-g7062992332c
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\UI\examples\Divider\Vertical Namespace Reference

Functions

 base ()
 

description: > Example for rendering a vertical dividing line. More...

 

Function Documentation

◆ base()

ILIAS\UI\examples\Divider\Vertical\base ( )


description: > Example for rendering a vertical dividing line.

expected output: >

ILIAS shows a dot centered between two text sections.

Definition at line 32 of file base.php.

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

33 {
34  global $DIC;
35  $f = $DIC->ui()->factory();
36  $renderer = $DIC->ui()->renderer();
37 
38  return $renderer->render(array($f->legacy()->content("Some content"),
39  $f->divider()->vertical(),
40  $f->legacy()->content("More content")));
41 }
$renderer
global $DIC
Definition: shib_login.php:26