ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
no_pages.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
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
$url
Definition: shib_logout.php:63
global $DIC
Definition: shib_login.php:25
no_pages()
description: > Example for a pagination view control with no pages
Definition: no_pages.php:16