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' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
7  // Registers a Backend Module
9  'TYPO3.CMS.' . $_EXTKEY,
10  'tools', // Make module a submodule of 'tools'
11  'language', // Submodule key
12  'after:extensionmanager', // Position
13  array(
14  // An array holding the controller-action-combinations that are accessible
15  'Language' => 'index, updateLanguageSelection, updateTranslation'
16  ),
17  array(
18  'access' => 'admin',
19  'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
20  'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod_language.xlf',
21  )
22  );
23 }
const TYPO3_MODE
Definition: init.php:40
die
Definition: index.php:6
static registerModule($extensionName, $mainModuleName='', $subModuleName='', $position='', array $controllerActions=array(), array $moduleConfiguration=array())