TYPO3 CMS  TYPO3_6-2
ext_tables.php
Go to the documentation of this file.
1 <?php
2 if (!defined('TYPO3_MODE')) {
3  die('Access denied.');
4 }
5 
6 if (TYPO3_MODE === 'BE') {
7  // Register AJAX handlers:
8  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('T3Editor::saveCode', 'TYPO3\\CMS\\T3editor\\T3editor->ajaxSaveCode');
9  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('T3Editor::getPlugins', 'TYPO3\\CMS\\T3editor\\T3editor->getPlugins');
10  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('T3Editor_TSrefLoader::getTypes', 'TYPO3\\CMS\\T3editor\\TypoScriptReferenceLoader->processAjaxRequest');
11  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('T3Editor_TSrefLoader::getDescription', 'TYPO3\\CMS\\T3editor\\TypoScriptReferenceLoader->processAjaxRequest');
12  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('CodeCompletion::loadTemplates', 'TYPO3\\CMS\\T3editor\\CodeCompletion->processAjaxRequest');
13 }
static registerAjaxHandler($ajaxId, $callbackMethod, $csrfTokenCheck=TRUE)
const TYPO3_MODE
Definition: init.php:40
die
Definition: index.php:6