ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Pagination.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
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.
This describes a Pagination View Control.
Definition: Pagination.php:29
withTotalCount(?int $total_count)
In order to calculate the sections, the pagination needs to know the total amount of entries.
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,...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21