ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
base.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
30function base()
31{
32 global $DIC;
33 $f = $DIC['ui.factory'];
34 $r = $DIC['ui.renderer'];
35
36 $control = $f->input()->viewControl()->NullControl();
37
38 //wrap the control in a ViewControlContainer
39 $vc_container = $f->input()->container()->viewControl()->standard([$control])
40 ->withRequest($DIC->http()->request());
41
42 return $r->render([
43 $f->legacy()->content('<pre>' . print_r($vc_container->getData(), true) . '</pre>'),
44 $f->divider()->horizontal(),
45 $vc_container
46 ]);
47}
global $DIC
Definition: shib_login.php:26