TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController:
TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Core\SingletonInterface TYPO3\CMS\Extbase\Mvc\Controller\AbstractController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface Tx_Fluid_ViewHelpers_Widget_Controller_PaginateController

Public Member Functions

 initializeAction ()
 
 indexAction ($currentPage=1)
 
- Public Member Functions inherited from TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 canProcessRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
 getControllerContext ()
 
 __construct ()
 
 injectConfigurationManager (\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectFlashMessageContainer (\TYPO3\CMS\Extbase\Mvc\Controller\FlashMessageContainer $flashMessageContainer)
 
 addFlashMessage ($messageBody, $messageTitle='', $severity=\TYPO3\CMS\Core\Messaging\AbstractMessage::OK, $storeInSession=TRUE)
 
 canProcessRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
 forward ($actionName, $controllerName=NULL, $extensionName=NULL, array $arguments=NULL)
 
 throwStatus ($statusCode, $statusMessage=NULL, $content=NULL)
 
 initializeControllerArgumentsBaseValidators ()
 

Protected Member Functions

 calculateDisplayRange ()
 
 buildPagination ()
 
- Protected Member Functions inherited from TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController
 setViewConfiguration (\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view)
 
- Protected Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 initializeActionMethodArguments ()
 
 initializeActionMethodValidators ()
 
 resolveActionMethodName ()
 
 callActionMethod ()
 
 emitBeforeCallActionMethodSignal (array $preparedArguments)
 
 setViewConfiguration (ViewInterface $view)
 
 getViewProperty ($extbaseFrameworkConfiguration, $setting, $deprecatedSetting='')
 
 resolveViewObjectName ()
 
 initializeView (ViewInterface $view)
 
 initializeAction ()
 
 errorAction ()
 
 getErrorFlashMessage ()
 
 checkRequestHash ()
 
 clearCacheOnError ()
 
- Protected Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
 redirect ($actionName, $controllerName=NULL, $extensionName=NULL, array $arguments=NULL, $pageUid=NULL, $delay=0, $statusCode=303)
 
 redirectToUri ($uri, $delay=0, $statusCode=303)
 
 addBaseUriIfNecessary ($uri)
 

Protected Attributes

 $configuration = array('itemsPerPage' => 10, 'insertAbove' => FALSE, 'insertBelow' => TRUE, 'maximumNumberOfLinks' => 99, 'addQueryStringMethod' => '')
 
 $objects
 
 $currentPage = 1
 
 $maximumNumberOfLinks = 99
 
 $numberOfPages = 1
 
- Protected Attributes inherited from TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController
 $supportedRequestTypes = array('TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetRequest')
 
 $widgetConfiguration
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 $reflectionService
 
 $cacheService
 
 $view = NULL
 
 $viewObjectNamePattern = 'Tx_@extension_View_@controller_@action@format'
 
 $namespacesViewObjectNamePattern = '@vendor\@extension\View\@controller\@action@format'
 
 $viewFormatToObjectNameMap = array()
 
 $defaultViewObjectName = 'TYPO3\\CMS\\Fluid\\View\\TemplateView'
 
 $actionMethodName = 'indexAction'
 
 $errorMethodName = 'errorAction'
 
 $mvcPropertyMappingConfigurationService
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
 $signalSlotDispatcher
 
 $objectManager
 
 $uriBuilder
 
 $extensionName
 
 $settings
 
 $request
 
 $response
 
 $deprecatedPropertyMapper
 
 $validatorResolver
 
 $arguments
 
 $argumentsMappingResults
 
 $supportedRequestTypes = array('TYPO3\\CMS\\Extbase\\Mvc\\Request')
 
 $controllerContext
 
 $flashMessageContainer
 
 $configurationManager
 

Additional Inherited Members

- Static Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
static getActionMethodParameters ($objectManager)
 

Detailed Description

Definition at line 23 of file PaginateController.php.

Member Function Documentation

◆ buildPagination()

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::buildPagination ( )
protected

Returns an array with the keys "pages", "current", "numberOfPages", "nextPage" & "previousPage"

Returns
array

Definition at line 119 of file PaginateController.php.

References TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController\calculateDisplayRange().

Referenced by TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController\indexAction().

◆ calculateDisplayRange()

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::calculateDisplayRange ( )
protected

◆ indexAction()

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::indexAction (   $currentPage = 1)

◆ initializeAction()

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::initializeAction ( )

Member Data Documentation

◆ $configuration

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::$configuration = array('itemsPerPage' => 10, 'insertAbove' => FALSE, 'insertBelow' => TRUE, 'maximumNumberOfLinks' => 99, 'addQueryStringMethod' => '')
protected

Definition at line 28 of file PaginateController.php.

◆ $currentPage

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::$currentPage = 1
protected

◆ $maximumNumberOfLinks

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::$maximumNumberOfLinks = 99
protected

◆ $numberOfPages

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::$numberOfPages = 1
protected

◆ $objects

TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController::$objects
protected

Definition at line 33 of file PaginateController.php.