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

Public Member Functions

 __construct ()
 
 tableRow ($label, $data, $field, $id)
 
 processTemplateRowAfterLoading (array $tplRow)
 
 processTemplateRowBeforeSaving (array $tplRow)
 
 main ()
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 init (&$pObj, $conf)
 
 handleExternalFunctionValue ()
 
 incLocalLang ()
 
 checkExtObj ()
 
 extObjContent ()
 
 modMenu ()
 

Public Attributes

 $tce_processed = false
 
 $pObj
 
- Public Attributes inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 $pObj
 
 $extObj = null
 
 $thisPath = ''
 
 $localLangFile = 'locallang.xlf'
 
 $extClassConf
 
 $function_key = ''
 

Protected Member Functions

 getLanguageService ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 getLanguageService ()
 
 getBackendUserAuthentication ()
 
 getDocumentTemplate ()
 
 getBackPath ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 $pageRenderer = null
 

Detailed Description

This class displays the Info/Modify screen of the Web > Template module

Definition at line 31 of file TypoScriptTemplateInformationModuleFunctionController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::__construct ( )

Member Function Documentation

◆ getLanguageService()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::getLanguageService ( )
protected

◆ main()

◆ processTemplateRowAfterLoading()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::processTemplateRowAfterLoading ( array  $tplRow)

Process template row after loading

Parameters
array$tplRowTemplate row
Returns
array Preprocessed template row

Definition at line 136 of file TypoScriptTemplateInformationModuleFunctionController.php.

Referenced by TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\tableRow().

◆ processTemplateRowBeforeSaving()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::processTemplateRowBeforeSaving ( array  $tplRow)

Process template row before saving

Parameters
array$tplRowTemplate row
Returns
array Preprocessed template row

Definition at line 153 of file TypoScriptTemplateInformationModuleFunctionController.php.

References TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\extractIncludes_array().

Referenced by TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\main().

◆ tableRow()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::tableRow (   $label,
  $data,
  $field,
  $id 
)

Creates a row for a HTML table

Parameters
string$labelThe label to be shown (e.g. 'Title:', 'Sitetitle:')
string$dataThe data/information to be shown (e.g. 'Template for my site')
string$fieldThe field/variable to be sent on clicking the edit icon (e.g. 'title', 'sitetitle')
int$idThe field/variable to be sent on clicking the edit icon (e.g. 'title', 'sitetitle')
Returns
string A row for a HTML table

Definition at line 67 of file TypoScriptTemplateInformationModuleFunctionController.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\getLanguageService(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\processTemplateRowAfterLoading(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\main().

Member Data Documentation

◆ $iconFactory

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::$iconFactory
protected

◆ $pObj

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::$pObj

◆ $tce_processed

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::$tce_processed = false