TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\T3editor\Hook\FileEditHook Class Reference
Inheritance diagram for TYPO3\CMS\T3editor\Hook\FileEditHook:
tx_t3editor_hooks_fileedit

Public Member Functions

 preOutputProcessingHook ($parameters, $pObj)
 
 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! File edit hook for t3editor

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

Definition at line 22 of file FileEditHook.php.

Member Function Documentation

◆ getT3editor()

◆ postOutputProcessingHook()

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

Hook-function: called in file_edit.php:SC_file_edit->main

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

Definition at line 86 of file FileEditHook.php.

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

◆ preOutputProcessingHook()

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

Hook-function: inject t3editor JavaScript code before the page is compiled called in file_edit.php:SC_file_edit->main

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

Definition at line 51 of file FileEditHook.php.

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

◆ preStartPageHook()

TYPO3\CMS\T3editor\Hook\FileEditHook::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
See also
::startPage

Definition at line 68 of file FileEditHook.php.

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

◆ save()

TYPO3\CMS\T3editor\Hook\FileEditHook::save (   $parameters,
  $pObj 
)
Parameters
array$parameters
mixed$pObj
Returns
boolean TRUE if successful

Definition at line 105 of file FileEditHook.php.

References $parameters, $result, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Data Documentation

◆ $ajaxSaveType

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

Definition at line 32 of file FileEditHook.php.

◆ $t3editor