Pagination
in package
This file is part of the Cockpit project.
(c) Artur Heinze - π °π Άπ ΄π ½ππ ΄π Ήπ Ύ, http://agentejo.com
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Table of Contents
- $current : mixed
- $limit : mixed
- $offset : mixed
- $pages : mixed
- $total : mixed
- __construct() : mixed
- current() : mixed
- first() : mixed
- last() : mixed
- limit() : mixed
- offset() : mixed
- pages() : mixed
- range() : mixed
- total() : mixed
Properties
$current
protected
mixed
$current
$limit
protected
mixed
$limit
$offset
protected
mixed
$offset
$pages
protected
mixed
$pages
$total
protected
mixed
$total
Methods
__construct()
public
__construct(mixed $total, mixed $limit[, mixed $current = 1 ]) : mixed
Parameters
- $total : mixed
- $limit : mixed
- $current : mixed = 1
Return values
mixed —current()
public
current([mixed $page = null ]) : mixed
Parameters
- $page : mixed = null
Return values
mixed —first()
public
first() : mixed
Return values
mixed —last()
public
last() : mixed
Return values
mixed —limit()
public
limit() : mixed
Return values
mixed —offset()
public
offset() : mixed
Return values
mixed —pages()
public
pages() : mixed
Return values
mixed —range()
public
range([mixed $range = 5 ]) : mixed
Parameters
- $range : mixed = 5
Return values
mixed —total()
public
total() : mixed