프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$limit | integer | null | Current rows limit (if provided) | |
$options | array | Array with options. | |
$paginateResult | stdClass | Phalcon's paginate result. |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 getLayout ( ) : |
||
리턴 |
public getPagesInRange ( ) : array | ||
리턴 | array | array of page numbers |
protected getRangeClass ( ) : string | ||
리턴 | string | range class name |
protected getRangeLength ( ) : integer | ||
리턴 | integer | range length |
public haveToPaginate ( ) : boolean | ||
리턴 | boolean |