TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Func\Controller\PageFunctionsController Class Reference
Inheritance diagram for TYPO3\CMS\Func\Controller\PageFunctionsController:
TYPO3\CMS\Backend\Module\BaseScriptClass

Public Member Functions

 __construct ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 main ()
 
 printContent ()
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 init ()
 
 menuConfig ()
 
 mergeExternalItems ($modName, $menuKey, $menuArr)
 
 handleExternalFunctionValue ($MM_key='function', $MS_value=null)
 
 getExternalItemConfig ($modName, $menuKey, $value='')
 
 checkExtObj ()
 
 checkSubExtObj ()
 
 extObjHeader ()
 

Public Attributes

 $pageinfo
 
 $doc
 
- Public Attributes inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 $MCONF = []
 
 $id
 
 $CMD
 
 $perms_clause
 
 $MOD_MENU
 
 $MOD_SETTINGS = []
 
 $modTSconfig
 
 $modMenu_type = ''
 
 $modMenu_dontValidateList = ''
 
 $modMenu_setDefaultList = ''
 
 $extClassConf
 
 $content = ''
 
 $doc
 
 $extObj
 

Protected Member Functions

 generateMenu ()
 
 getButtons ()
 
 getLanguageService ()
 
 getBackendUser ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 getLanguageService ()
 
 getBackendUser ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $moduleTemplate
 
 $moduleName = 'web_func'
 
 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 $pageRenderer = null
 

Detailed Description

Script Class for the Web > Functions module This class creates the framework to which other extensions can connect their sub-modules

Definition at line 31 of file PageFunctionsController.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ generateMenu()

TYPO3\CMS\Func\Controller\PageFunctionsController::generateMenu ( )
protected

Generates the menu based on $this->MOD_MENU

Exceptions

Definition at line 160 of file PageFunctionsController.php.

Referenced by TYPO3\CMS\Func\Controller\PageFunctionsController\main().

◆ getBackendUser()

TYPO3\CMS\Func\Controller\PageFunctionsController::getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 242 of file PageFunctionsController.php.

References $GLOBALS.

◆ getButtons()

TYPO3\CMS\Func\Controller\PageFunctionsController::getButtons ( )
protected

◆ getLanguageService()

TYPO3\CMS\Func\Controller\PageFunctionsController::getLanguageService ( )
protected

◆ main()

◆ mainAction()

TYPO3\CMS\Func\Controller\PageFunctionsController::mainAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Injects the request object for the current request or subrequest Then checks for module functions that have hooked in, and renders menu etc.

Parameters
ServerRequestInterface$requestthe current request
ResponseInterface$response
Returns
ResponseInterface the response with the content

Definition at line 86 of file PageFunctionsController.php.

References $GLOBALS, TYPO3\CMS\Backend\Module\BaseScriptClass\checkExtObj(), TYPO3\CMS\Backend\Module\BaseScriptClass\checkSubExtObj(), TYPO3\CMS\Backend\Module\BaseScriptClass\init(), and TYPO3\CMS\Func\Controller\PageFunctionsController\main().

◆ printContent()

TYPO3\CMS\Func\Controller\PageFunctionsController::printContent ( )

Print module content (from $this->content)

Returns
void
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 193 of file PageFunctionsController.php.

References TYPO3\CMS\Backend\Module\BaseScriptClass\$content, and TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

Member Data Documentation

◆ $doc

TYPO3\CMS\Func\Controller\PageFunctionsController::$doc

Definition at line 51 of file PageFunctionsController.php.

◆ $iconFactory

TYPO3\CMS\Func\Controller\PageFunctionsController::$iconFactory
protected

Definition at line 63 of file PageFunctionsController.php.

◆ $moduleName

TYPO3\CMS\Func\Controller\PageFunctionsController::$moduleName = 'web_func'
protected

◆ $moduleTemplate

TYPO3\CMS\Func\Controller\PageFunctionsController::$moduleTemplate
protected

Definition at line 44 of file PageFunctionsController.php.

◆ $pageinfo

TYPO3\CMS\Func\Controller\PageFunctionsController::$pageinfo

Definition at line 37 of file PageFunctionsController.php.