ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Pagination.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
28 interface Pagination extends ViewControlInput
29 {
34  public function withLimitOptions(array $options): self;
35 
40  public function withTotalCount(?int $total_count): self;
41 
48  public function withNumberOfVisibleEntries(int $number_of_entries): self;
49 }
This describes the basis of all View Control Inputs.
withTotalCount(?int $total_count)
In order to calculate the sections, the pagination needs to know the total amount of entries...
This describes a Pagination View Control.
Definition: Pagination.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
withLimitOptions(array $options)
Optionally provide a list of integers for the page-length selection.
withNumberOfVisibleEntries(int $number_of_entries)
You may alter the amount of sections shown simultanously: there is always the first and last section...