3 declare(strict_types=1);
20 $f = $DIC->ui()->factory();
21 $r = $DIC->ui()->renderer();
29 ->withValue([Pagination::FNAME_OFFSET => 31, Pagination::FNAME_LIMIT => 10]);
31 $sortation =
$f->input()->viewControl()->sortation([
32 'Field 1, ascending' =>
$d->order(
'field1', Order::ASC),
33 'Field 1, descending' =>
$d->order(
'field1', Order::DESC),
34 'Field 2, descending' =>
$d->order(
'field2', Order::DESC),
37 $group =
$f->input()->viewControl()->group([$pagination, $sortation]);
40 $vc_container =
$f->input()->container()->viewControl()->standard([$group])->withRequest(
41 $DIC->http()->request()
45 $f->legacy(
'<pre>' . print_r($vc_container->getData(),
true) .
'</pre>'),
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...