프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$paginator | Knp\Component\Pager\Paginator |
메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
getPaginator ( ) : Knp\Component\Pager\Paginator | Get paginator | |
paginate ( mixed $target, integer $pageNumber = 1, integer $limit = 10 ) : Knp\Bundle\PaginatorBundle\Pagination\SlidingPagination | Paginate target with passed page and limit, apply default pagination remplate to renderer | |
setPageParameterName ( string $pageParameterName ) : self | Set page partameter name | |
setRoute ( string $route ) : self | Set used route | |
setRouteParams ( array $params = [] ) : self | Set parameters required by route generator for used route |
public getPaginator ( ) : Knp\Component\Pager\Paginator | ||
리턴 | Knp\Component\Pager\Paginator |
public setPageParameterName ( string $pageParameterName ) : self | ||
$pageParameterName | string | |
리턴 | self |
public setRouteParams ( array $params = [] ) : self | ||
$params | array | Route parameters |
리턴 | self |