Property | Type | Description | |
---|---|---|---|
$cacheService | |||
$pageNumber | integer | ||
$pageParameterName | string | ||
$paginatorService |
Method | Description | |
---|---|---|
__construct ( |
||
getPageNumber ( ) : mixed | Gets the value of pageNumber. | |
getPageParameterName ( ) : mixed | Gets the value of pageParameterName. | |
getPaginator ( ) : Knp\Component\Pager\Paginator | Get Paginator instance from PaginatorService | |
setPageNumber ( mixed $pageNumber = 1 ) : self | Sets the value of pageNumber. | |
setPageParameterName ( mixed $pageParameterName ) : self | Sets the value of pageParameterName. |
Method | Description | |
---|---|---|
paginateList ( mixed $target, integer $pageNumber, integer $maxResults, |
Paginate target and fill list items |
public __construct ( |
||
$criteria | ||
$paginatorService | ||
$cacheService |
public getPageNumber ( ) : mixed | ||
return | mixed |
public getPageParameterName ( ) : mixed | ||
return | mixed |
public getPaginator ( ) : Knp\Component\Pager\Paginator | ||
return | Knp\Component\Pager\Paginator |
public setPageNumber ( mixed $pageNumber = 1 ) : self | ||
$pageNumber | mixed | the page number |
return | self |
public setPageParameterName ( mixed $pageParameterName ) : self | ||
$pageParameterName | mixed | the page parameter name |
return | self |
protected CacheService,Newscoop\Services $cacheService | ||
return |