TYPO3 CMS  TYPO3_6-2
ext_tables.php
Go to the documentation of this file.
1 <?php
2 // Make sure that we are executed only from the inside of TYPO3
3 if (!defined('TYPO3_MODE')) {
4  die('Access denied.');
5 }
6 
7 if (TYPO3_MODE === 'BE') {
8  // Register wizard
10  'wizard_openid',
11  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'wizard/'
12  );
13 
14  // Add field to setup module
15  $GLOBALS['TYPO3_USER_SETTINGS']['columns']['tx_openid_openid'] = array(
16  'type' => 'user',
17  'table' => 'be_users',
18  'label' => 'LLL:EXT:openid/locallang_db.xlf:_MOD_user_setup.tx_openid_openid',
19  'csh' => 'tx_openid_openid',
20  'userFunc' => 'TYPO3\\CMS\\Openid\\OpenidModuleSetup->renderOpenID',
21  'access' => 'TYPO3\\CMS\\Openid\\OpenidModuleSetup'
22  );
24 }
static addFieldsToUserSettings($addFields, $insertionPosition='')
const TYPO3_MODE
Definition: init.php:40
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:context_help/locallang_csh_pages.xlf'][]
Definition: ext_tables.php:15
die
Definition: index.php:6