TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
InfoModuleController Class Reference
Inheritance diagram for InfoModuleController:
BaseScriptClass

Public Member Functions

 __construct ()
 
 main ()
 
 printContent ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 getModuleTemplate ()
 
- 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 ()
 
 extObjContent ()
 

Public Attributes

 $pageinfo
 
 $doc
 
- Public Attributes inherited from BaseScriptClass
 $MCONF = array()
 
 $id
 
 $CMD
 
 $perms_clause
 
 $MOD_MENU
 
 $MOD_SETTINGS = array()
 
 $modTSconfig
 
 $modMenu_type = ''
 
 $modMenu_dontValidateList = ''
 
 $modMenu_setDefaultList = ''
 
 $extClassConf
 
 $content = ''
 
 $doc
 
 $extObj
 

Protected Member Functions

 getButtons ()
 
 generateMenu ()
 
- Protected Member Functions inherited from BaseScriptClass
 getLanguageService ()
 
 getBackendUser ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $backendUser
 
 $languageService
 
 $moduleName = 'web_info'
 
 $moduleTemplate
 
- Protected Attributes inherited from BaseScriptClass
 $pageRenderer = null
 

Detailed Description

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

Definition at line 30 of file InfoModuleController.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 72 of file InfoModuleController.php.

References $GLOBALS, and GeneralUtility\makeInstance().

Member Function Documentation

generateMenu ( )
protected

Generate the ModuleMenu

Definition at line 216 of file InfoModuleController.php.

Referenced by InfoModuleController\main().

getButtons ( )
protected

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

Definition at line 176 of file InfoModuleController.php.

References BackendUtility\BEgetRootLine(), ButtonBar\BUTTON_POSITION_LEFT, ButtonBar\BUTTON_POSITION_RIGHT, Icon\SIZE_SMALL, and BackendUtility\viewOnClick().

Referenced by InfoModuleController\main().

getModuleTemplate ( )

Returns the ModuleTemplate container This is used by PageLayoutView.php

Returns
ModuleTemplate

Definition at line 249 of file InfoModuleController.php.

References InfoModuleController\$moduleTemplate.

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 156 of file InfoModuleController.php.

References $GLOBALS, $response, BaseScriptClass\checkExtObj(), BaseScriptClass\checkSubExtObj(), MessageInterface\getBody(), BaseScriptClass\init(), and InfoModuleController\main().

printContent ( )

Print module content (from $this->content)

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

Definition at line 141 of file InfoModuleController.php.

References BaseScriptClass\$content, and GeneralUtility\logDeprecatedFunction().

Member Data Documentation

$backendUser
protected

Definition at line 48 of file InfoModuleController.php.

$doc

Definition at line 43 of file InfoModuleController.php.

$languageService
protected

Definition at line 53 of file InfoModuleController.php.

$moduleName = 'web_info'
protected

Definition at line 60 of file InfoModuleController.php.

$moduleTemplate
protected

Definition at line 67 of file InfoModuleController.php.

Referenced by InfoModuleController\getModuleTemplate().

$pageinfo

Definition at line 35 of file InfoModuleController.php.