Свойство | Type | Description | |
---|---|---|---|
$limit | integer | null | Current rows limit (if provided) | |
$options | array | Array with options. | |
$paginateResult | stdClass | Phalcon's paginate result. |
Méthode | Description | |
---|---|---|
__construct ( Phalcon\Paginator\AdapterInterface $adapter, array $options = [] ) | Class constructor. | |
count ( ) : integer | ||
getCurrentPage ( ) : integer | Returns the current page. | |
getFirstPage ( ) : integer | Returns the first page. | |
getIterator ( ) : ArrayIterator | ||
getLastPage ( ) : integer | Returns the last page. | |
getLayout ( ) : |
Returns the layout object. | |
getLimit ( ) : integer | null | Get current rows limit (if provided) | |
getNextPage ( ) : integer | Returns the next page. | |
getPagesInRange ( ) : array | Returns array of page numbers that are in range of slider. | |
getPreviousPage ( ) : integer | Returns the previous page. | |
haveToPaginate ( ) : boolean | Return true if it's necessary to paginate or false if not. |
Méthode | Description | |
---|---|---|
getRangeClass ( ) : string | RangeClass option getter. | |
getRangeLength ( ) : integer | RangeLength option getter. |
public __construct ( Phalcon\Paginator\AdapterInterface $adapter, array $options = [] ) | ||
$adapter | Phalcon\Paginator\AdapterInterface | Phalcon paginator adapter |
$options | array | options array |
public getCurrentPage ( ) : integer | ||
Résultat | integer |
public getFirstPage ( ) : integer | ||
Résultat | integer |
public getLastPage ( ) : integer | ||
Résultat | integer |
public getLayout ( ) : |
||
Résultat |
public getNextPage ( ) : integer | ||
Résultat | integer |
public getPagesInRange ( ) : array | ||
Résultat | array | array of page numbers |
public getPreviousPage ( ) : integer | ||
Résultat | integer |
protected getRangeClass ( ) : string | ||
Résultat | string | range class name |
protected getRangeLength ( ) : integer | ||
Résultat | integer | range length |
public haveToPaginate ( ) : boolean | ||
Résultat | boolean |