TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook Class Reference

Public Member Functions

 preStartPageHook ()
 
 postOutputProcessingHook ($parameters, $pObj)
 
 save ($parameters, $pObj)
 

Protected Member Functions

 getT3editor ()
 

Protected Attributes

 $t3editor = null
 
 $ajaxSaveType = 'TypoScriptTemplateInformationModuleFunctionController'
 

Detailed Description

Hook for tstemplate info

Definition at line 20 of file TypoScriptTemplateInfoHook.php.

Member Function Documentation

◆ getT3editor()

◆ postOutputProcessingHook()

TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook::postOutputProcessingHook (   $parameters,
  $pObj 
)

Hook-function: called in typo3/sysext/tstemplate_info/Classes/Controller/TypoScriptTemplateInformationModuleFunctionController.php

Parameters
array$parameters
\TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController$pObj
Returns
void

Definition at line 68 of file TypoScriptTemplateInfoHook.php.

References $GLOBALS, TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\$t3editor, and TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\getT3editor().

◆ preStartPageHook()

TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook::preStartPageHook ( )

Hook-function: inject t3editor JavaScript code before the page is compiled called in :startPage

Returns
void
See also
::startPage

Definition at line 50 of file TypoScriptTemplateInfoHook.php.

References TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\$t3editor, TYPO3\CMS\Core\Utility\GeneralUtility\_GET(), and TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\getT3editor().

◆ save()

TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook::save (   $parameters,
  $pObj 
)

Process saving request like in class.tstemplateinfo.php (TCE processing)

Returns
bool TRUE if successful

Definition at line 89 of file TypoScriptTemplateInfoHook.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\_GP(), TYPO3\CMS\Core\Utility\GeneralUtility\_POST(), TYPO3\CMS\Backend\Utility\BackendUtility\getModuleData(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Data Documentation

◆ $ajaxSaveType

TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook::$ajaxSaveType = 'TypoScriptTemplateInformationModuleFunctionController'
protected

Definition at line 30 of file TypoScriptTemplateInfoHook.php.

◆ $t3editor