‪TYPO3CMS  9.5
TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController Class Reference
Inheritance diagram for TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController:
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

array modMenu ()
 
bool initialize_editor ($pageId, $template_uid=0)
 
 addFlashMessage (FlashMessage $flashMessage)
 
 handleExternalFunctionValue ()
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUserAuthentication ()
 
PageRenderer getPageRenderer ()
 

Protected Attributes

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

Private Attributes

array $deprecatedPublicProperties
 
array $deprecatedPublicMethods
 

Detailed Description

This class displays the submodule "TypoScript Object Browser" inside the Web > Template module

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

Definition at line 36 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

Member Function Documentation

◆ addFlashMessage()

TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::addFlashMessage ( FlashMessage  $flashMessage)
protected

Add flash message to queue

Parameters
FlashMessage$flashMessage

Definition at line 453 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

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

◆ getBackendUserAuthentication()

BackendUserAuthentication TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::getBackendUserAuthentication ( )
protected

◆ getLanguageService()

◆ getPageRenderer()

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

◆ handleExternalFunctionValue()

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

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

◆ init()

◆ initialize_editor()

bool TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::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 184 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

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

◆ main()

◆ modMenu()

Member Data Documentation

◆ $deprecatedPublicMethods

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

Definition at line 50 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

◆ $deprecatedPublicProperties

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

Definition at line 41 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

◆ $extClassConf

array TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::$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 93 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

◆ $function_key

string TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::$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 102 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

◆ $id

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

◆ $localLangFile

string TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::$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 85 of file TypoScriptTemplateObjectBrowserModuleFunctionController.php.

◆ $localLanguageFilePath

string TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::$localLanguageFilePath
protected

◆ $pObj

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

◆ $templateRow

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

◆ $templateService

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