Pages
in package
List call pagination details.
Table of Contents
Properties
Methods
- __construct() : void
- __construct Create a pages object
Properties
$page
public
int
$page
$pages
public
int
$pages
$perPage
public
int
$perPage
$total
public
int
$total
Methods
__construct()
__construct Create a pages object
public
__construct(int $page, int $pages, int $perPage, int $total) : void
Parameters
- $page : int
-
The current page of results
- $pages : int
-
The number of pages of results
- $perPage : int
-
The number of results in each page
- $total : int
-
The total number of results