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

Public Member Functions

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

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

Protected Attributes

 $moduleTemplate
 
 $moduleName = 'web_func'
 
 $iconFactory
 
- 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

__construct ( )

Member Function Documentation

generateMenu ( )
protected

Generates the menu based on $this->MOD_MENU

Exceptions
\InvalidArgumentException

Definition at line 158 of file PageFunctionsController.php.

Referenced by PageFunctionsController\main().

getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 240 of file PageFunctionsController.php.

References $GLOBALS.

getButtons ( )
protected

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

Definition at line 200 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 230 of file PageFunctionsController.php.

References $GLOBALS.

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

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

References $GLOBALS, $response, BaseScriptClass\checkExtObj(), BaseScriptClass\checkSubExtObj(), MessageInterface\getBody(), BaseScriptClass\init(), and PageFunctionsController\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 191 of file PageFunctionsController.php.

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

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.

$moduleTemplate
protected

Definition at line 44 of file PageFunctionsController.php.

$pageinfo

Definition at line 37 of file PageFunctionsController.php.