Go to the source code of this file.
◆ base()
Definition at line 3 of file base.php.
4{
5
8 $renderer =
$DIC->ui()->renderer();
9
10
11 $target =
$DIC->http()->request()->getRequestTarget();
13 $active = 0;
16 }
17
18
19 $back =
$f->button()->standard(
"Back",
"$target&$param=" . ($active - 1));
20 $next =
$f->button()->standard(
"Next" .
" " . ($active - 1),
"$target&$param=" . ($active + 1));
21 $middle =
$f->button()->standard(
"Go to Engaged Section (Current Section: $active)",
"$target&$param=0");
22
23
24 if ($active == 0) {
25 $middle = $middle->withLabel("Engaged Section")->withEngagedState(true);
26 }
27 $view_control_section =
$f->viewControl()->section($back, $middle, $next);
28 $html = $renderer->render($view_control_section);
29 return $html;
30}
References $_GET, $DIC, Vendor\Package\$f, and $param.