ILIAS  trunk Revision v12.0_alpha-33-ge186251a14d
ViewControlInfosImpl.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
28 public function __construct(
29 protected Sortation $sortation,
30 protected int $current_page,
31 protected int $max_pages,
32 protected int $page_size,
33 protected URI $pagination_action,
34 protected Param $page_param,
35 protected URI $sortation_action,
36 protected Param $sortation_param
37 ) {
38 }
39
40 public function sortation(): Sortation
41 {
42 return $this->sortation;
43 }
44
45 public function currentPage(): int
46 {
47 return $this->current_page;
48 }
49
50 public function maxPages(): int
51 {
52 return $this->max_pages;
53 }
54
55 public function pageSize(): int
56 {
57 return $this->page_size;
58 }
59
60 public function paginationAction(): URI
61 {
62 return $this->pagination_action;
63 }
64
65 public function pageParam(): Param
66 {
67 return $this->page_param;
68 }
69
70 public function sortationAction(): URI
71 {
72 return $this->sortation_action;
73 }
74
75 public function sortationParam(): Param
76 {
77 return $this->sortation_param;
78 }
79}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
__construct(protected Sortation $sortation, protected int $current_page, protected int $max_pages, protected int $page_size, protected URI $pagination_action, protected Param $page_param, protected URI $sortation_action, protected Param $sortation_param)