PHP Class Phalcon\Paginator\Pager\Range

Datei anzeigen Open project: phalcon/incubator Class Usage Examples

Protected Properties

Property Type Description
$chunkLength integer Window size.
$pager Phalcon\Paginator\Pager Pager object.

Public Methods

Method Description
__construct ( Pager $pager, integer $chunkLength ) Class constructor.
getRange ( ) : array Calculate and returns an array representing the range around the current page.

Method Details

__construct() public method

Class constructor.
public __construct ( Pager $pager, integer $chunkLength )
$pager Phalcon\Paginator\Pager
$chunkLength integer

getRange() abstract public method

Calculate and returns an array representing the range around the current page.
abstract public getRange ( ) : array
return array

Property Details

$chunkLength protected_oe property

Window size.
protected int $chunkLength
return integer

$pager protected_oe property

Pager object.
protected Pager,Phalcon\Paginator $pager
return Phalcon\Paginator\Pager