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

Public Member Functions

 __construct ()
 
 init ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 printContent ()
 
 linkWrapTemplateTitle ($title, $onlyKey='')
 
 setInPageArray (&$pArray, $rlArr, $row)
 
 renderList ($pArray, $lines=[], $c=0)
 
- 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

 $perms_clause
 
 $e
 
 $sObj
 
 $edit
 
 $textExtensions = 'html,htm,txt,css,tmpl,inc,js'
 
 $modMenu_type = ''
 
 $modMenu_dontValidateList = ''
 
 $modMenu_setDefaultList = ''
 
 $pageinfo = []
 
 $access = false
 
- 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 ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 getLanguageService ()
 
 getBackendUser ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

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

Detailed Description

Module: TypoScript Tools

$TYPO3_CONF_VARS["MODS"]["web_ts"]["onlineResourceDir"] = Directory of default resources. Eg. "fileadmin/res/" or so.

Definition at line 38 of file TypoScriptTemplateModuleController.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ generateMenu()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::generateMenu ( )
protected

Generates the menu based on $this->MOD_MENU

Returns
void
Exceptions

Definition at line 265 of file TypoScriptTemplateModuleController.php.

Referenced by TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\init().

◆ getButtons()

◆ init()

◆ linkWrapTemplateTitle()

◆ mainAction()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::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 300 of file TypoScriptTemplateModuleController.php.

References $GLOBALS, TYPO3\CMS\Backend\Module\BaseScriptClass\checkExtObj(), and TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\init().

◆ printContent()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::printContent ( )

◆ renderList()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::renderList (   $pArray,
  $lines = [],
  $c = 0 
)

◆ setInPageArray()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::setInPageArray ( $pArray,
  $rlArr,
  $row 
)

Set page in array

Parameters
array$pArray
array$rlArr
array$row
Returns
void

Definition at line 612 of file TypoScriptTemplateModuleController.php.

Referenced by TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\init().

Member Data Documentation

◆ $access

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$access = false

Definition at line 88 of file TypoScriptTemplateModuleController.php.

◆ $e

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$e

Definition at line 48 of file TypoScriptTemplateModuleController.php.

◆ $edit

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$edit

Definition at line 58 of file TypoScriptTemplateModuleController.php.

◆ $modMenu_dontValidateList

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$modMenu_dontValidateList = ''

Definition at line 73 of file TypoScriptTemplateModuleController.php.

◆ $modMenu_setDefaultList

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$modMenu_setDefaultList = ''

Definition at line 78 of file TypoScriptTemplateModuleController.php.

◆ $modMenu_type

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$modMenu_type = ''

Definition at line 68 of file TypoScriptTemplateModuleController.php.

◆ $moduleName

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$moduleName = 'web_ts'
protected

◆ $moduleTemplate

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$moduleTemplate
protected

Definition at line 102 of file TypoScriptTemplateModuleController.php.

◆ $pageinfo

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$pageinfo = []

Definition at line 83 of file TypoScriptTemplateModuleController.php.

◆ $perms_clause

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$perms_clause

Definition at line 43 of file TypoScriptTemplateModuleController.php.

◆ $sObj

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$sObj

Definition at line 53 of file TypoScriptTemplateModuleController.php.

◆ $textExtensions

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController::$textExtensions = 'html,htm,txt,css,tmpl,inc,js'

Definition at line 63 of file TypoScriptTemplateModuleController.php.