ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
no_pages.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
32 function no_pages()
33 {
34  global $DIC;
35  $factory = $DIC->ui()->factory();
36  $renderer = $DIC->ui()->renderer();
37  $url = $DIC->http()->request()->getRequestTarget();
38 
39  $pagination = $factory->viewControl()->pagination()
40  ->withPageSize(10)
41  ->withTotalEntries(10);
42 
43  return $renderer->render($pagination);
44 }
$renderer
$url
Definition: shib_logout.php:66
global $DIC
Definition: shib_login.php:22
no_pages()
description: > Example for a pagination view control with no pages
Definition: no_pages.php:32