TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Viewpage\Controller\ViewModuleController Class Reference
Inheritance diagram for TYPO3\CMS\Viewpage\Controller\ViewModuleController:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Extbase\Mvc\Controller\AbstractController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface

Public Member Functions

 __construct ()
 
 showAction ()
 
- 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

 getAdminCommand ($pageId)
 
 getTypeParameterIfSet ($pageId)
 
 getDomainName ($pageId)
 
 getPreviewFrameWidths ()
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
static getActionMethodParameters ($objectManager)
 
- 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
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Viewpage\Controller\ViewModuleController::__construct ( )

Definition at line 27 of file ViewModuleController.php.

References $GLOBALS.

Member Function Documentation

◆ getAdminCommand()

TYPO3\CMS\Viewpage\Controller\ViewModuleController::getAdminCommand (   $pageId)
protected

Get admin command

Parameters
integer$pageId
Returns
string

Definition at line 97 of file ViewModuleController.php.

References $GLOBALS, and TYPO3\CMS\Backend\Utility\BackendUtility\readPageAccess().

Referenced by TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction().

◆ getDomainName()

TYPO3\CMS\Viewpage\Controller\ViewModuleController::getDomainName (   $pageId)
protected

Get domain name for requested page id

Parameters
integer$pageId
Returns
string|NULL Domain name from first sys_domains-Record or from TCEMAIN.previewDomain, NULL if neither is configured

Definition at line 131 of file ViewModuleController.php.

References $GLOBALS, TYPO3\CMS\Backend\Utility\BackendUtility\BEgetRootLine(), TYPO3\CMS\Backend\Utility\BackendUtility\firstDomainRecord(), and TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig().

Referenced by TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction().

◆ getPreviewFrameWidths()

TYPO3\CMS\Viewpage\Controller\ViewModuleController::getPreviewFrameWidths ( )
protected

Get available widths for preview frame

Returns
array

Definition at line 146 of file ViewModuleController.php.

References $GLOBALS, and TYPO3\CMS\Backend\Utility\BackendUtility\getModTSconfig().

Referenced by TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction().

◆ getTypeParameterIfSet()

TYPO3\CMS\Viewpage\Controller\ViewModuleController::getTypeParameterIfSet (   $pageId)
protected

With page TS config it is possible to force a specific type id via mod.web_view.type for a page id or a page tree. The method checks if a type is set for the given id and returns the additional GET string.

Parameters
integer$pageId
Returns
string

Definition at line 115 of file ViewModuleController.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getModTSconfig().

Referenced by TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction().

◆ showAction()