3 declare(strict_types=1);
12 $renderer = $DIC->ui()->renderer();
16 $actions =
$factory->dropdown()->standard(array(
17 $factory->button()->shy(
"ILIAS",
"https://www.ilias.de"),
18 $factory->button()->shy(
"GitHub",
"https://www.github.com")
21 $legacy =
$factory->legacy(
"Legacy content");
23 $url = $DIC->http()->request()->getRequestTarget();
25 $sort_options = array(
26 'internal_rating' =>
'Best',
27 'date_desc' =>
'Most Recent',
28 'date_asc' =>
'Oldest',
30 $sortation =
$factory->viewControl()->sortation($sort_options)->withTargetURL(
$url,
"");
32 $parameter_name =
'page';
38 $pagination =
$factory->viewControl()->pagination()
39 ->withTargetURL(
$url, $parameter_name)
40 ->withTotalEntries(98)
42 ->withCurrentPage($current_page);
49 ->withActions($actions)
50 ->withViewControls(array($sortation, $pagination));
52 return $renderer->render(
$panel);
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Refinery Factory $refinery