7 $f = $DIC->ui()->factory();
8 $renderer = $DIC->ui()->renderer();
11 $target = $DIC->http()->request()->getRequestTarget();
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");
25 $middle = $middle->withLabel(
"Engaged Section")->withEngagedState(
true);
27 $view_control_section =
$f->viewControl()->section($back, $middle, $next);
28 $html = $renderer->render($view_control_section);