Overview

Namespaces

  • Deimos
    • Paginate
  • PHP

Classes

  • Pager
  • Paginate
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class Pager

Direct known subclasses

Deimos\Paginate\Paginate
Abstract
Namespace: Deimos\Paginate
Located at Paginate/Pager.php
Methods summary
protected
# reset( )

reset pager

reset pager

protected array
# slice( )

Returns

array
abstract public integer
# itemCount( )

Returns

integer
protected boolean
# isLoaded( )

Returns

boolean
public integer
# pageCount( )

Returns

integer
public boolean
# pageExists( integer $page )

Parameters

$page

Returns

boolean
public integer
# currentPage( )

Returns

integer
public static
# page( integer $page )

Parameters

$page

Returns

static
public static
# limit( integer $limit )

Parameters

$limit

Returns

static
protected integer
# offset( )

Returns

integer
Properties summary
protected integer $defaultTake
# 50
protected array $storage
#
protected integer $itemCount
#
protected integer $limit
#
protected integer $page
#
protected boolean $loaded
#
API documentation generated by ApiGen