TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook Class Reference
Inheritance diagram for TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook:
tx_t3editor_hooks_tstemplateinfo

Public Member Functions

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

Protected Member Functions

 getT3editor ()
 

Protected Attributes

 $t3editor = NULL
 
 $ajaxSaveType = 'TypoScriptTemplateInformationModuleFunctionController'
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Hook for tstemplate info

Author
Tobias Liebig mail_.nosp@m.typo.nosp@m.3@eto.nosp@m.bi.d.nosp@m.e

Definition at line 22 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 70 of file TypoScriptTemplateInfoHook.php.

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

◆ preStartPageHook()

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

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

Parameters
array$parameters
\TYPO3\CMS\Backend\Template\DocumentTemplate$pObj
Returns
void
See also
::startPage

Definition at line 53 of file TypoScriptTemplateInfoHook.php.

References TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\$t3editor, 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
boolean TRUE if successful

Definition at line 92 of file TypoScriptTemplateInfoHook.php.

References $parameters, 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 32 of file TypoScriptTemplateInfoHook.php.

◆ $t3editor