TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PaginateController Class Reference
Inheritance diagram for PaginateController:
AbstractWidgetController ActionController SingletonInterface AbstractController ControllerInterface

Public Member Functions

 initializeAction ()
 
 indexAction ($currentPage=1)
 
- Public Member Functions inherited from AbstractWidgetController
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request,\TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
- Public Member Functions inherited from ActionController
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 injectCacheService (\TYPO3\CMS\Extbase\Service\CacheService $cacheService)
 
 injectMvcPropertyMappingConfigurationService (\TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request,\TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
- Public Member Functions inherited from AbstractController
 injectSignalSlotDispatcher (\TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher)
 
 injectValidatorResolver (\TYPO3\CMS\Extbase\Validation\ValidatorResolver $validatorResolver)
 
 getControllerContext ()
 
 __construct ()
 
 injectConfigurationManager (ConfigurationManagerInterface $configurationManager)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 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)
 

Protected Member Functions

 buildPagination ()
 
- Protected Member Functions inherited from AbstractWidgetController
 setViewConfiguration (\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view)
 
- Protected Member Functions inherited from ActionController
 initializeActionMethodArguments ()
 
 resolveActionMethodName ()
 
 emitBeforeCallActionMethodSignal (array $preparedArguments)
 
 setViewConfiguration (ViewInterface $view)
 
 getViewProperty ($extbaseFrameworkConfiguration, $setting)
 
 resolveViewObjectName ()
 
 initializeView (ViewInterface $view)
 
 initializeAction ()
 
 errorAction ()
 
 clearCacheOnError ()
 
 addErrorFlashMessage ()
 
 getErrorFlashMessage ()
 
 forwardToReferringRequest ()
 
 getFlattenedValidationErrorMessage ()
 
- Protected Member Functions inherited from 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, 'recordsLabel' => '')
 
 $objects
 
 $currentPage = 1
 
 $numberOfPages = 1
 
 $offset = 0
 
 $itemsPerPage = 0
 
 $numberOfObjects = 0
 
- Protected Attributes inherited from AbstractWidgetController
 $supportedRequestTypes = array(\TYPO3\CMS\Fluid\Core\Widget\WidgetRequest::class)
 
 $widgetConfiguration
 
- Protected Attributes inherited from ActionController
 $reflectionService
 
 $cacheService
 
 $view = null
 
 $namespacesViewObjectNamePattern = '@vendor\@extension\View\@controller\@action@format'
 
 $viewFormatToObjectNameMap = array()
 
 $defaultViewObjectName = \TYPO3\CMS\Fluid\View\TemplateView::class
 
 $actionMethodName = 'indexAction'
 
 $errorMethodName = 'errorAction'
 
 $mvcPropertyMappingConfigurationService
 
 $request
 
 $response
 
- Protected Attributes inherited from AbstractController
 $signalSlotDispatcher
 
 $objectManager
 
 $uriBuilder
 
 $extensionName
 
 $settings
 
 $request
 
 $response
 
 $validatorResolver
 
 $arguments
 
 $supportedRequestTypes = array(\TYPO3\CMS\Extbase\Mvc\Request::class)
 
 $controllerContext
 
 $configurationManager
 

Additional Inherited Members

- Static Public Member Functions inherited from ActionController
static getActionMethodParameters ($objectManager)
 

Detailed Description

Definition at line 21 of file Be/Widget/Controller/PaginateController.php.

Member Function Documentation

buildPagination ( )
protected

Returns an array with the keys "current", "numberOfPages", "nextPage", "previousPage", "startRecord", "endRecord"

Returns
array

Definition at line 106 of file Be/Widget/Controller/PaginateController.php.

References PaginateController\$itemsPerPage, and PaginateController\$numberOfObjects.

Referenced by PaginateController\indexAction().

indexAction (   $currentPage = 1)
Parameters
int$currentPage
Returns
void

Definition at line 73 of file Be/Widget/Controller/PaginateController.php.

References PaginateController\$currentPage, and PaginateController\buildPagination().

initializeAction ( )
Returns
void

Definition at line 61 of file Be/Widget/Controller/PaginateController.php.

Member Data Documentation

$configuration = array('itemsPerPage' => 10, 'insertAbove' => false, 'insertBelow' => true, 'recordsLabel' => '')
protected

Definition at line 26 of file Be/Widget/Controller/PaginateController.php.

$currentPage = 1
protected
$itemsPerPage = 0
protected
$numberOfObjects = 0
protected
$numberOfPages = 1
protected

Definition at line 41 of file Be/Widget/Controller/PaginateController.php.

$objects
protected

Definition at line 31 of file Be/Widget/Controller/PaginateController.php.

$offset = 0
protected

Definition at line 46 of file Be/Widget/Controller/PaginateController.php.