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

Public Member Functions

 initialize_editor ($pageId, $template_uid=0)
 
 displayExample ($theOutput)
 
 main ()
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 init (&$pObj, $conf)
 
 handleExternalFunctionValue ()
 
 incLocalLang ()
 
 checkExtObj ()
 
 extObjContent ()
 
 modMenu ()
 

Public Attributes

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

Protected Member Functions

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

Additional Inherited Members

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

Detailed Description

TypoScript Constant editor

Module Include-file

$GLOBALS['TYPO3_CONF_VARS']['MODS']['web_ts']['onlineResourceDir'] = 'fileadmin/fonts/'; // This is the path (must be in "fileadmin/" !!) where the web_ts/constant-editor submodule fetches online resources. Put fonts (ttf) and standard images here!

Definition at line 36 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

Member Function Documentation

◆ displayExample()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::displayExample (   $theOutput)

◆ getConstants()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::getConstants ( )
protected

◆ getExtendedTemplateService()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::getExtendedTemplateService ( )
protected

◆ getTemplateRow()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::getTemplateRow ( )
protected

◆ initialize_editor()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::initialize_editor (   $pageId,
  $template_uid = 0 
)

Initialize editor

Initializes the module. Done in this function because we may need to re-initialize if data is submitted!

Parameters
int$pageId
int$template_uid
Returns
bool

Definition at line 53 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extPath(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extRelPath(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

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

◆ main()

Member Data Documentation

◆ $pObj

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