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

Public Member Functions

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

Protected Member Functions

 getT3editor ()
 
 getPageRenderer ()
 

Protected Attributes

 $t3editor = null
 
 $ajaxSaveType = 'TypoScriptTemplateInformationModuleFunctionController'
 

Detailed Description

File edit hook for t3editor

Definition at line 23 of file FileEditHook.php.

Member Function Documentation

◆ getPageRenderer()

TYPO3\CMS\T3editor\Hook\FileEditHook::getPageRenderer ( )
protected

◆ getT3editor()

◆ postOutputProcessingHook()

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

Hook-function: called in file_edit module

Parameters
array$parameters
\TYPO3\CMS\Backend\Controller\File\EditFileController$pObj

Definition at line 88 of file FileEditHook.php.

References $GLOBALS, TYPO3\CMS\T3editor\Hook\FileEditHook\$t3editor, TYPO3\CMS\T3editor\Hook\FileEditHook\getT3editor(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ preOutputProcessingHook()

TYPO3\CMS\T3editor\Hook\FileEditHook::preOutputProcessingHook (   $parameters,
  $pObj 
)

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

Parameters
array$parameters
\TYPO3\CMS\Backend\Controller\File\EditFileController$pObj

Definition at line 53 of file FileEditHook.php.

References TYPO3\CMS\T3editor\Hook\FileEditHook\$t3editor, TYPO3\CMS\T3editor\Hook\FileEditHook\getPageRenderer(), and TYPO3\CMS\T3editor\Hook\FileEditHook\getT3editor().

◆ preStartPageHook()

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

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

See also
::startPage

Definition at line 70 of file FileEditHook.php.

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

Member Data Documentation

◆ $ajaxSaveType

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

Definition at line 33 of file FileEditHook.php.

◆ $t3editor