ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Input\ViewControl\Pagination
;
6
7
use
ILIAS\UI\Implementation\Component\Input\ViewControl\Pagination
;
8
9
function
base
()
10
{
11
global
$DIC
;
12
$f
=
$DIC
->ui()->factory();
13
$r =
$DIC
->ui()->renderer();
14
15
$pagination =
$f
->input()->viewControl()->pagination()
16
->withTotalCount(932)
17
->withValue([
Pagination::FNAME_OFFSET
=> 31,
Pagination::FNAME_LIMIT
=> 10])
18
;
19
20
//view this in a ViewControlContainer with active request
21
$vc_container =
$f
->input()->container()->viewControl()->standard([$pagination])
22
->withRequest(
$DIC
->http()->request());
23
24
return
$r->render([
25
$f
->legacy(
'<pre>'
. print_r($vc_container->getData(),
true
) .
'</pre>'
),
26
$f
->divider()->horizontal(),
27
$vc_container
28
]);
29
}
ILIAS\UI\Implementation\Component\Input\ViewControl\Pagination
Definition:
Pagination.php:35
ILIAS\UI\Implementation\Component\Input\ViewControl\Pagination\FNAME_LIMIT
const FNAME_LIMIT
Definition:
Pagination.php:41
ILIAS\UI\Implementation\Component\Input\ViewControl\Pagination\FNAME_OFFSET
const FNAME_OFFSET
Definition:
Pagination.php:40
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\Input\ViewControl\Pagination
Definition:
base.php:5
ILIAS\UI\examples\Input\ViewControl\Pagination\base
base()
Definition:
base.php:9
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Input
ViewControl
Pagination
base.php
Generated on Sun Nov 2 2025 22:02:02 for ILIAS by
1.9.4 (using
Doxyfile
)