PHP Class Neos\FluidAdaptor\ViewHelpers\Widget\Controller\PaginateController

Inheritance: extends Neos\FluidAdaptor\Core\Widget\AbstractWidgetController
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$configuration array
$currentPage integer
$displayRangeEnd integer
$displayRangeStart integer
$maximumNumberOfLinks integer
$numberOfPages integer
$objects Neos\Flow\Persistence\QueryResultInterface
$pagesAfter integer
$pagesBefore integer

Public Methods

Method Description
indexAction ( integer $currentPage = 1 ) : void

Protected Methods

Method Description
buildPagination ( ) : array Returns an array with the keys "pages", "current", "numberOfPages", "nextPage" & "previousPage"
calculateDisplayRange ( ) : void If a certain number of links should be displayed, adjust before and after amounts accordingly.
initializeAction ( ) : void

Method Details

buildPagination() protected method

Returns an array with the keys "pages", "current", "numberOfPages", "nextPage" & "previousPage"
protected buildPagination ( ) : array
return array

calculateDisplayRange() protected method

If a certain number of links should be displayed, adjust before and after amounts accordingly.
protected calculateDisplayRange ( ) : void
return void

indexAction() public method

public indexAction ( integer $currentPage = 1 ) : void
$currentPage integer
return void

initializeAction() protected method

protected initializeAction ( ) : void
return void

Property Details

$configuration protected property

protected array $configuration
return array

$currentPage protected property

protected int $currentPage
return integer

$displayRangeEnd protected property

protected int $displayRangeEnd
return integer

$displayRangeStart protected property

protected int $displayRangeStart
return integer

$numberOfPages protected property

protected int $numberOfPages
return integer

$objects protected property

protected QueryResultInterface,Neos\Flow\Persistence $objects
return Neos\Flow\Persistence\QueryResultInterface

$pagesAfter protected property

protected int $pagesAfter
return integer

$pagesBefore protected property

protected int $pagesBefore
return integer