ILIAS  release_8 Revision v8.24
base.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
14function base()
15{
16 global $DIC;
17 $f = $DIC['ui.factory'];
18 $r = $DIC['ui.renderer'];
19
20 $control = $f->input()->viewControl()->NullControl();
21
22 //wrap the control in a ViewControlContainer
23 $vc_container = $f->input()->container()->viewControl()->standard([$control])
24 ->withRequest($DIC->http()->request());
25
26 return $r->render([
27 $f->legacy('<pre>' . print_r($vc_container->getData(), true) . '</pre>'),
28 $f->divider()->horizontal(),
29 $vc_container
30 ]);
31}
global $DIC
Definition: feed.php:28