ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
no_pages.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\ViewControl\Pagination
;
6
16
function
no_pages
()
17
{
18
global
$DIC
;
19
$factory = $DIC->ui()->factory();
20
$renderer
= $DIC->ui()->renderer();
21
$url
= $DIC->http()->request()->getRequestTarget();
22
23
$pagination = $factory->viewControl()->pagination()
24
->withPageSize(10)
25
->withTotalEntries(10);
26
27
return
$renderer
->render($pagination);
28
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\ViewControl\Pagination
Definition:
base.php:5
$url
$url
Definition:
shib_logout.php:63
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\ViewControl\Pagination\no_pages
no_pages()
description: > Example for a pagination view control with no pages
Definition:
no_pages.php:16
components
ILIAS
UI
src
examples
ViewControl
Pagination
no_pages.php
Generated on Wed Sep 10 2025 15:16:46 for ILIAS by
1.8.13 (using
Doxyfile
)