3 declare(strict_types=1);
32 $f = $DIC->ui()->factory();
33 $r = $DIC->ui()->renderer();
36 $f->input()->viewControl()->pagination(),
37 $f->input()->viewControl()->sortation([
38 'Field 1, ascending' =>
new Order(
'field1',
'ASC'),
39 'Field 1, descending' =>
new Order(
'field1',
'DESC'),
40 'Field 2, descending' =>
new Order(
'field2',
'ASC')
42 $f->input()->viewControl()->fieldSelection([
45 ],
'shown columns',
'apply'),
48 $vc_container =
$f->input()->container()->viewControl()->standard($vcs);
50 $array = $vc_container->reduceWith(
55 $f->legacy()->content(
'<pre>' . print_r(json_encode($array, JSON_PRETTY_PRINT),
true) .
'</pre>')
Both the subject and the direction need to be specified when expressing an order. ...