TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
PageFunctionsController Class Reference
Inheritance diagram for PageFunctionsController:
BaseScriptClass

Public Member Functions

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

Public Attributes

 $pageinfo
 
 $doc
 
- Public Attributes inherited from 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 BaseScriptClass
 getLanguageService ()
 
 getBackendUser ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $moduleTemplate
 
 $moduleName = 'web_func'
 
 $iconFactory
 
 $view
 
- Protected Attributes inherited from 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

Member Function Documentation

generateMenu ( )
protected

Generates the menu based on $this->MOD_MENU

Exceptions
InvalidArgumentException

Definition at line 164 of file PageFunctionsController.php.

Referenced by PageFunctionsController\main().

getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 234 of file PageFunctionsController.php.

References $GLOBALS.

getButtons ( )
protected

Create the panel of buttons for submitting the form or otherwise perform operations.

Definition at line 194 of file PageFunctionsController.php.

References BackendUtility\BEgetRootLine(), PageFunctionsController\getLanguageService(), Icon\SIZE_SMALL, and BackendUtility\viewOnClick().

Referenced by PageFunctionsController\main().

getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 224 of file PageFunctionsController.php.

References $GLOBALS.

Referenced by PageFunctionsController\__construct(), PageFunctionsController\getButtons(), and PageFunctionsController\main().

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 91 of file PageFunctionsController.php.

References $GLOBALS, BaseScriptClass\checkExtObj(), BaseScriptClass\checkSubExtObj(), BaseScriptClass\init(), and PageFunctionsController\main().

Member Data Documentation

$doc

Definition at line 51 of file PageFunctionsController.php.

$iconFactory
protected

Definition at line 63 of file PageFunctionsController.php.

$moduleName = 'web_func'
protected

Definition at line 58 of file PageFunctionsController.php.

Referenced by PageFunctionsController\__construct().

$moduleTemplate
protected

Definition at line 44 of file PageFunctionsController.php.

$pageinfo

Definition at line 37 of file PageFunctionsController.php.

$view
protected

Definition at line 68 of file PageFunctionsController.php.