PHP Class Phalcon\Paginator\Pager\Range

Afficher le fichier Open project: phalcon/incubator Class Usage Examples

Protected Properties

Свойство Type Description
$chunkLength integer Window size.
$pager Phalcon\Paginator\Pager Pager object.

Méthodes publiques

Méthode 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 méthode

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

getRange() abstract public méthode

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

Property Details

$chunkLength protected_oe property

Window size.
protected int $chunkLength
Résultat integer

$pager protected_oe property

Pager object.
protected Pager,Phalcon\Paginator $pager
Résultat Phalcon\Paginator\Pager