PrepareHasTotal uses trait:short
Table of Contents
Properties
- $hasTotal : bool
- Indicates if the list method return the total number of elements.
Methods
- initializeHasTotal() : static
- Initialize the hasTotal property with an associative array definition.
- prepareHasTotal() : bool
- Prepare and returns the 'hasTotal' value.
- prepareBoolean() : bool|null
- Prepare and returns the boolean value.
Properties
$hasTotal
Indicates if the list method return the total number of elements.
public
bool
$hasTotal
= true
Methods
initializeHasTotal()
Initialize the hasTotal property with an associative array definition.
public
initializeHasTotal([array<string|int, mixed> $init = [] ]) : static
Parameters
- $init : array<string|int, mixed> = []
Return values
staticprepareHasTotal()
Prepare and returns the 'hasTotal' value.
public
prepareHasTotal(ServerRequestInterface|null $request[, array<string|int, mixed> $args = [] ][, array<string|int, mixed>|null &$params = null ]) : bool
Parameters
- $request : ServerRequestInterface|null
- $args : array<string|int, mixed> = []
- $params : array<string|int, mixed>|null = null
Return values
boolprepareBoolean()
Prepare and returns the boolean value.
protected
prepareBoolean(ServerRequestInterface|null $request[, array<string|int, mixed> $args = [] ][, array<string|int, mixed>|null &$params = null ][, string|null $name = null ]) : bool|null
Parameters
- $request : ServerRequestInterface|null
- $args : array<string|int, mixed> = []
- $params : array<string|int, mixed>|null = null
- $name : string|null = null