Oihana PHP System

LimitTrait

The limit/offset trait.

Table of Contents

Properties

$limit  : int|null
The default limit value.
$maxLimit  : int|null
The maximum limit value.
$minLimit  : int|null
The minimum limit value.
$offset  : int|null
The default limit value.

Methods

initializeLimit()  : static
Initialize the min/max limit range.

Properties

$limit

The default limit value.

public int|null $limit = null

$maxLimit

The maximum limit value.

public int|null $maxLimit = null

$minLimit

The minimum limit value.

public int|null $minLimit = null

$offset

The default limit value.

public int|null $offset = null

Methods

initializeLimit()

Initialize the min/max limit range.

protected initializeLimit([array<string|int, mixed> $init = [] ]) : static
Parameters
$init : array<string|int, mixed> = []
Return values
static

        
On this page

Search results