‪TYPO3CMS  9.5
TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController Class Reference
Inheritance diagram for TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController:
TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait

Public Member Functions

 init ($pObj)
 
string main ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
bool __isset (string $propertyName)
 
mixed __get (string $propertyName)
 
 __set (string $propertyName, $propertyValue)
 
 __unset (string $propertyName)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait
mixed __call (string $methodName, array $arguments)
 

Protected Member Functions

bool initialize_editor ($pageId, $template_uid=0)
 
 handleExternalFunctionValue ()
 
LanguageService getLanguageService ()
 
PageRenderer getPageRenderer ()
 

Protected Attributes

TypoScriptTemplateModuleController $pObj
 
array $templateRow
 
ExtendedTemplateService $templateService
 
array $constants
 
 $id
 
string $localLangFile = ''
 
array $extClassConf
 
string $function_key = ''
 

Private Attributes

array $deprecatedPublicProperties
 
array $deprecatedPublicMethods
 

Detailed Description

TypoScript Constant editor

This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 32 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

Member Function Documentation

◆ getLanguageService()

LanguageService TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::getLanguageService ( )
protected

◆ getPageRenderer()

PageRenderer TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::getPageRenderer ( )
protected

◆ handleExternalFunctionValue()

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

If $this->function_key is set (which means there are two levels of object connectivity) then $this->extClassConf is loaded with the TBE_MODULES_EXT configuration for that sub-sub-module

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 234 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getModuleData().

◆ init()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::init (   $pObj)

◆ initialize_editor()

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

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 125 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

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

◆ main()

Member Data Documentation

◆ $constants

array TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$constants
protected

◆ $deprecatedPublicMethods

array TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$deprecatedPublicMethods
private
Initial value:
= array(
'initialize_editor' => 'Using TypoScriptTemplateConstantEditorModuleFunctionController::initialize_editor() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'handleExternalFunctionValue' => 'Using TypoScriptTemplateConstantEditorModuleFunctionController::handleExternalFunctionValue() is deprecated, method will be removed in TYPO3 v10.0.',
)

Definition at line 46 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

◆ $deprecatedPublicProperties

array TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$deprecatedPublicProperties
private
Initial value:
= array(
'pObj' => 'Using TypoScriptTemplateConstantEditorModuleFunctionController::$pObj is deprecated and will not be possible anymore in TYPO3 v10.0.',
'function_key' => 'Using TypoScriptTemplateConstantEditorModuleFunctionController::$function_key is deprecated, property will be removed in TYPO3 v10.0.',
'extClassConf' => 'Using TypoScriptTemplateConstantEditorModuleFunctionController::$extClassConf is deprecated, property will be removed in TYPO3 v10.0.',
'localLangFile' => 'Using TypoScriptTemplateConstantEditorModuleFunctionController::$localLangFile is deprecated, property will be removed in TYPO3 v10.0.',
)

Definition at line 37 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

◆ $extClassConf

array TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$extClassConf
protected

Contains module configuration parts from TBE_MODULES_EXT if found

See also
handleExternalFunctionValue()
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 88 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

◆ $function_key

string TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$function_key = ''
protected

If this value is set it points to a key in the TBE_MODULES_EXT array (not on the top level..) where another classname/filepath/title can be defined for sub-subfunctions. This is a little hard to explain, so see it in action; it used in the extension 'func_wizards' in order to provide yet a layer of interfacing with the backend module. The extension 'func_wizards' has this description: 'Adds the 'Wizards' item to the function menu in Web>Func. This is just a framework for wizard extensions.' - so as you can see it is designed to allow further connectivity - 'level 2'

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 97 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

◆ $id

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$id
protected

◆ $localLangFile

string TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$localLangFile = ''
protected

Can be hardcoded to the name of a locallang.xlf file (from the same directory as the class file) to use/load and is included / added to $GLOBALS['LOCAL_LANG']

See also
init()
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 80 of file TypoScriptTemplateConstantEditorModuleFunctionController.php.

◆ $pObj

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

◆ $templateRow

array TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$templateRow
protected

◆ $templateService

ExtendedTemplateService TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::$templateService
protected