ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
with_label.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
32 function with_label()
33 {
34  global $DIC;
35  $f = $DIC->ui()->factory();
36  $renderer = $DIC->ui()->renderer();
37 
38  return $renderer->render($f->divider()->horizontal()->withLabel("Label"));
39 }
$renderer
with_label()
description: > Example for rendering a horizontal dividing line with a label
Definition: with_label.php:32
global $DIC
Definition: shib_login.php:22