Pagination
in package
This is the Pagination class, a macro class for the utilViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the util's pagination.
Tags
Table of Contents
MODE_BLOCKS | = 'modeBlocks' | |
---|---|---|
MODE_TEXT | = 'modeText' | |
$mode | : string | |
$pagerParameters | : Pagination|null | |
$pagination | : Pagination|null | |
__construct() | Constructor method for Pagination | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UtilViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Constants
MODE_BLOCKS
public
mixed
MODE_BLOCKS
= 'modeBlocks'
MODE_TEXT
public
mixed
MODE_TEXT
= 'modeText'
Properties
$mode
public
string
$mode
= self::MODE_BLOCKS
$pagerParameters
public
Pagination|null
$pagerParameters
= null
$pagination
public
Pagination|null
$pagination
= null
Methods
__construct()
Constructor method for Pagination
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
Tags
Return values
mixed —getViewParameters()
This method returns all calculated arguments and new parameters for UtilViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>