本文整理汇总了PHP中TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr方法的典型用法代码示例。如果您正苦于以下问题:PHP ExtensionManagementUtility::addLLrefForTCAdescr方法的具体用法?PHP ExtensionManagementUtility::addLLrefForTCAdescr怎么用?PHP ExtensionManagementUtility::addLLrefForTCAdescr使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TYPO3\CMS\Core\Utility\ExtensionManagementUtility
的用法示例。
在下文中一共展示了ExtensionManagementUtility::addLLrefForTCAdescr方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'CICBase Static Typoscript');
if (TYPO3_MODE == 'BE') {
// Older versions of ExtBase don't have CLI CommandManager
if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('scheduler') && class_exists('TYPO3\\CMS\\Extbase\\Mvc\\Cli\\CommandManager')) {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['CIC\\Cicbase\\Scheduler\\Task'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xml:task.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xml:task.description', 'additionalFields' => 'CIC\\Cicbase\\Scheduler\\FieldProvider');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('CIC.' . $_EXTKEY, 'tools', 'cicbase', '', array('Migration' => 'index,run'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_cicbase.xml'));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('CIC.' . $_EXTKEY, 'web', 'emailtemplate', '', array('EmailTemplate' => 'list,selectTemplate,new,create,edit,update,delete'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_emailtemplate.xml'));
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cicbase_domain_model_file', 'EXT:cicbase/Resources/Private/Language/locallang_csh_tx_cicbase_domain_model_file.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cicbase_domain_model_file');
$GLOBALS['TCA']['tx_cicbase_domain_model_file'] = array('ctrl' => array('title' => 'LLL:EXT:cicbase/Resources/Private/Language/locallang_db.xml:tx_cicbase_domain_model_file', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/File.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_cicbase_domain_model_file.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cicbase_domain_model_emailtemplate', 'EXT:cicbase/Resources/Private/Language/locallang_csh_tx_cicbase_domain_model_emailtemplate.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cicbase_domain_model_emailtemplate');
$GLOBALS['TCA']['tx_cicbase_domain_model_emailtemplate'] = array('ctrl' => array('title' => 'Email Template', 'label' => 'template_key', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'hideTable' => TRUE, 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/EmailTemplate.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_cicbase_domain_model_emailtemplate.gif'));
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list_extra.inc']['getTable'][] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Hooks/DatabaseRecordList.php:CIC\\Cicbase\\Hooks\\DatabaseRecordList';
示例2: defined
<?php
defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
// Add module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
'web_info',
\TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::class,
NULL,
'LLL:EXT:linkvalidator/Resources/Private/Language/locallang.xlf:mod_linkvalidator'
);
}
// Initialize Context Sensitive Help (CSH)
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'linkvalidator',
'EXT:linkvalidator/Resources/Private/Language/Module/locallang_csh.xlf'
);
示例3: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
// register plugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'quickgooglemap', 'Quick Google Map');
// set locallang file
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cbgooglemaps', 'EXT:cbgooglemaps/Resources/Private/Language/locallang_csh_tx_cbgooglemaps.xml');
// add static template configuration
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Quick Google Maps');
// set plugin signature
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_quickgooglemap';
// add some new fields by flexform definition
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
// define flexform file
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_quickgooglemap.xml');
// exclude some default backend fields, like: layout, select_key, pages and recursive
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,pages,recursive';
示例4: die
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
// Main Module
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Aijko.' . $_EXTKEY, 'spmodul', '', '', array(), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/sharepoint.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_sharepoint.xlf'));
// Mapping Module
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Aijko.' . $_EXTKEY, 'spmodul', 'mapping', '', array('Mapping' => 'list, newStep1, newStep2, create, edit, update, deleteList, deleteAttribute, sync'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mapping.xlf'));
}
// Add static typoscript file
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Sharepoint Connector');
// Add pageTSConfig
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('mod.web_list.hideTables := addToList(tx_sharepointconnector_domain_model_mapping_attribute)');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sharepointconnector_domain_model_mapping_lists', 'EXT:sharepoint_connector/Resources/Private/Language/locallang_csh_tx_sharepointconnector_domain_model_mapping_lists.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sharepointconnector_domain_model_mapping_lists');
$TCA['tx_sharepointconnector_domain_model_mapping_lists'] = array('ctrl' => array('title' => 'LLL:EXT:sharepoint_connector/Resources/Private/Language/locallang_db.xlf:tx_sharepointconnector_domain_model_mapping_lists', 'label' => 'typo3_list_title', 'label_alt' => 'sharepoint_list_identifier', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'sharepoint_list_identifier,typo3_list_title,attributes,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Mapping/Lists.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_sharepointconnector_domain_model_mapping_list.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sharepointconnector_domain_model_mapping_attribute', 'EXT:sharepoint_connector/Resources/Private/Language/locallang_csh_tx_sharepointconnector_domain_model_mapping_attribute.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sharepointconnector_domain_model_mapping_attribute');
$TCA['tx_sharepointconnector_domain_model_mapping_attribute'] = array('ctrl' => array('title' => 'LLL:EXT:sharepoint_connector/Resources/Private/Language/locallang_db.xlf:tx_sharepointconnector_domain_model_mapping_attribute', 'label' => 'typo3_field_name', 'label_alt' => 'sharepoint_display_name, sharepoint_field_name', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'sharepoint_display_name,sharepoint_field_name,typo3_field_name, type,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Mapping/Attribute.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_sharepointconnector_domain_model_mapping_attribute.gif'));
示例5: array
require_once $extensionPath . 'Classes/Controller/class.tx_plenigo_flexform.php';
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Plenigo', 'Plenigo Frontend');
if (TYPO3_MODE === 'BE') {
/**
* Registers a Backend Module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Plenigo.' . $_EXTKEY, 'tools', 'plenigo', '', array('PlenigoSetting' => 'list, show, new, create, edit, update, ', 'PremiumContentProduct' => 'list, show, new, create, edit, update, delete', 'PremiumContentCategories' => 'list, show, new, create, edit, update, delete', 'PlenigoSettings' => 'list, show, new, create, edit, update, delete'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_plenigo.xlf'));
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Plenigo for news');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_plenigofornews_domain_model_plenigosetting', 'EXT:plenigo_for_news/Resources/Private/Language/locallang_csh_tx_plenigofornews_domain_model_plenigosetting.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_plenigofornews_domain_model_plenigosetting');
$GLOBALS['TCA']['tx_plenigofornews_domain_model_plenigosetting'] = array('ctrl' => array('title' => 'LLL:EXT:plenigo_for_news/Resources/Private/Language/locallang_db.xlf:tx_plenigofornews_domain_model_plenigosetting', 'label' => 'test_mode', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'test_mode,metered,company_i_d,company_private_key,curtain_message,buy_button_text,login_button_text,custom_button_text,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/PlenigoSetting.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_plenigofornews_domain_model_plenigosetting.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_plenigofornews_domain_model_premiumcontentproduct', 'EXT:plenigo_for_news/Resources/Private/Language/locallang_csh_tx_plenigofornews_domain_model_premiumcontentproduct.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_plenigofornews_domain_model_premiumcontentproduct');
$GLOBALS['TCA']['tx_plenigofornews_domain_model_premiumcontentproduct'] = array('ctrl' => array('title' => 'LLL:EXT:plenigo_for_news/Resources/Private/Language/locallang_db.xlf:tx_plenigofornews_domain_model_premiumcontentproduct', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,tag_name,product_i_d,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/PremiumContentProduct.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_plenigofornews_domain_model_premiumcontentproduct.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_plenigofornews_domain_model_premiumcontentcategories', 'EXT:plenigo_for_news/Resources/Private/Language/locallang_csh_tx_plenigofornews_domain_model_premiumcontentcategories.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_plenigofornews_domain_model_premiumcontentcategories');
$GLOBALS['TCA']['tx_plenigofornews_domain_model_premiumcontentcategories'] = array('ctrl' => array('title' => 'LLL:EXT:plenigo_for_news/Resources/Private/Language/locallang_db.xlf:tx_plenigofornews_domain_model_premiumcontentcategories', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,id,plenigo_i_d,price,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/PremiumContentCategories.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_plenigofornews_domain_model_premiumcontentcategories.gif'));
if (!isset($GLOBALS['TCA']['tx_news_domain_model_news']['ctrl']['type'])) {
if (file_exists($GLOBALS['TCA']['tx_news_domain_model_news']['ctrl']['dynamicConfigFile'])) {
require_once $GLOBALS['TCA']['tx_news_domain_model_news']['ctrl']['dynamicConfigFile'];
}
// no type field defined, so we define it here. This will only happen the first time the extension is installed!!
$GLOBALS['TCA']['tx_news_domain_model_news']['ctrl']['type'] = 'tx_extbase_type';
$tempColumns = array();
$tempColumns[$GLOBALS['TCA']['tx_news_domain_model_news']['ctrl']['type']] = array('exclude' => 1, 'label' => 'LLL:EXT:plenigo_for_news/Resources/Private/Language/locallang_db.xlf:tx_plenigofornews.tx_extbase_type', 'config' => array('type' => 'select', 'items' => array(), 'size' => 1, 'maxitems' => 1));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tx_news_domain_model_news', $tempColumns, 1);
}
$tmp_plenigo_for_news_columns = array('plenigo_category' => array('exclude' => 0, 'label' => 'LLL:EXT:plenigo_for_news/Resources/Private/Language/locallang_db.xlf:tx_plenigofornews_domain_model_plenigosettings.plenigo_category', 'config' => array('type' => 'select', 'foreign_table' => 'tx_plenigofornews_domain_model_premiumcontentcategories', 'minitems' => 0, 'maxitems' => 1, 'itemsProcFunc' => 'tx_plenigo_flexform->extendedCategories')), 'plenigo_product' => array('exclude' => 0, 'label' => 'LLL:EXT:plenigo_for_news/Resources/Private/Language/locallang_db.xlf:tx_plenigofornews_domain_model_plenigosettings.plenigo_product', 'config' => array('type' => 'select', 'foreign_table' => 'tx_plenigofornews_domain_model_premiumcontentproduct', 'minitems' => 0, 'maxitems' => 1, 'itemsProcFunc' => 'tx_plenigo_flexform->extendedProducts')));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tx_news_domain_model_news', $tmp_plenigo_for_news_columns);
$GLOBALS['TCA']['tx_news_domain_model_news']['types']['Tx_PlenigoForNews_PlenigoSettings']['showitem'] = $TCA['tx_news_domain_model_news']['types']['1']['showitem'];
示例6: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Pi1', 'Haustrainer Forum');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_pi1.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Woehrl Forum 6.2');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_woehrlforum_domain_model_eintrag', 'EXT:woehrl_forum/Resources/Private/Language/locallang_csh_tx_woehrlforum_domain_model_eintrag.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_woehrlforum_domain_model_eintrag');
$GLOBALS['TCA']['tx_woehrlforum_domain_model_eintrag'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_forum/Resources/Private/Language/locallang_db.xlf:tx_woehrlforum_domain_model_eintrag', 'label' => 'autor', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'autor,betreff,i_p_adresse,zuletztbearbeitet,anzahlder_bearbeitungen,nachricht,kategorie,thema,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Eintrag.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlforum_domain_model_eintrag.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_woehrlforum_domain_model_kategorie', 'EXT:woehrl_forum/Resources/Private/Language/locallang_csh_tx_woehrlforum_domain_model_kategorie.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_woehrlforum_domain_model_kategorie');
$GLOBALS['TCA']['tx_woehrlforum_domain_model_kategorie'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_forum/Resources/Private/Language/locallang_db.xlf:tx_woehrlforum_domain_model_kategorie', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'name,beschreibung,gruppe,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Kategorie.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlforum_domain_model_kategorie.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_woehrlforum_domain_model_gruppe', 'EXT:woehrl_forum/Resources/Private/Language/locallang_csh_tx_woehrlforum_domain_model_gruppe.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_woehrlforum_domain_model_gruppe');
$GLOBALS['TCA']['tx_woehrlforum_domain_model_gruppe'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_forum/Resources/Private/Language/locallang_db.xlf:tx_woehrlforum_domain_model_gruppe', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'name,beschreibung,frontend_benutzer,frontend_gruppen,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Gruppe.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlforum_domain_model_gruppe.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_woehrlforum_domain_model_theme', 'EXT:woehrl_forum/Resources/Private/Language/locallang_csh_tx_woehrlforum_domain_model_theme.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_woehrlforum_domain_model_theme');
$GLOBALS['TCA']['tx_woehrlforum_domain_model_theme'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_forum/Resources/Private/Language/locallang_db.xlf:tx_woehrlforum_domain_model_theme', 'label' => 'geschlossen', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'geschlossen,betreff,autor,erstellt,wieoftwurdedas_themaangesehen,anzahlder_anworten,erste_nachricht,letzter_nachricht,kategorie,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Theme.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlforum_domain_model_theme.gif'));
示例7: array
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('web', 'typo3-pagetree');
/**
* $TBE_STYLES configures backend styles and colors; Basically this contains
* all the values that can be used to create new skins for TYPO3.
* For information about making skins to TYPO3 you should consult the
* documentation found in "Inside TYPO3"
*/
$GLOBALS['TBE_STYLES'] = array('skinImg' => array());
/**
* Setting up $TCA_DESCR - Context Sensitive Help (CSH)
* For information about using the CSH API in TYPO3 you should consult the
* documentation found in "Inside TYPO3"
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:lang/locallang_csh_pages.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:lang/locallang_csh_be_users.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:lang/locallang_csh_be_groups.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:lang/locallang_csh_sysfilem.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:lang/locallang_csh_syslang.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_news', 'EXT:lang/locallang_csh_sysnews.xlf');
// General Core
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xMOD_csh_corebe', 'EXT:lang/locallang_csh_corebe.xlf');
// Web > Info
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:lang/locallang_csh_web_info.xlf');
// Web > Func
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:lang/locallang_csh_web_func.xlf');
/**
* Backend sprite icon-names
*/
$GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'] = array('actions-document-close', 'actions-document-duplicates-select', 'actions-document-edit-access', 'actions-document-export-csv', 'actions-document-export-t3d', 'actions-document-history-open', 'actions-document-import-t3d', 'actions-document-info', 'actions-document-localize', 'actions-document-move', 'actions-document-new', 'actions-document-open', 'actions-document-open-read-only', 'actions-document-paste-after', 'actions-document-paste-into', 'actions-document-save', 'actions-document-save-cleartranslationcache', 'actions-document-save-close', 'actions-document-save-new', 'actions-document-save-translation', 'actions-document-save-view', 'actions-document-select', 'actions-document-synchronize', 'actions-document-view', 'actions-edit-add', 'actions-edit-copy', 'actions-edit-copy-release', 'actions-edit-cut', 'actions-edit-cut-release', 'actions-edit-delete', 'actions-edit-download', 'actions-edit-hide', 'actions-edit-insert-default', 'actions-edit-localize-status-high', 'actions-edit-localize-status-low', 'actions-edit-merge-localization', 'actions-edit-pick-date', 'actions-edit-rename', 'actions-edit-replace', 'actions-edit-restore', 'actions-edit-undelete-edit', 'actions-edit-undo', 'actions-edit-unhide', 'actions-edit-upload', 'actions-input-clear', 'actions-insert-record', 'actions-insert-reference', 'actions-markstate', 'actions-message-error-close', 'actions-message-information-close', 'actions-message-notice-close', 'actions-message-ok-close', 'actions-message-warning-close', 'actions-move-down', 'actions-move-left', 'actions-move-move', 'actions-move-right', 'actions-move-to-bottom', 'actions-move-to-top', 'actions-move-up', 'actions-page-move', 'actions-page-new', 'actions-page-open', 'actions-selection-delete', 'actions-system-backend-user-emulate', 'actions-system-backend-user-switch', 'actions-system-cache-clear', 'actions-system-cache-clear-impact-high', 'actions-system-cache-clear-impact-low', 'actions-system-cache-clear-impact-medium', 'actions-system-cache-clear-rte', 'actions-system-extension-configure', 'actions-system-extension-documentation', 'actions-system-extension-download', 'actions-system-extension-import', 'actions-system-extension-install', 'actions-system-extension-sqldump', 'actions-system-extension-uninstall', 'actions-system-extension-update', 'actions-system-extension-update-disabled', 'actions-system-help-open', 'actions-system-list-open', 'actions-system-options-view', 'actions-system-pagemodule-open', 'actions-system-refresh', 'actions-system-shortcut-new', 'actions-system-tree-search-open', 'actions-system-typoscript-documentation', 'actions-system-typoscript-documentation-open', 'actions-template-new', 'actions-unmarkstate', 'actions-version-document-remove', 'actions-version-page-open', 'actions-version-swap-version', 'actions-version-swap-workspace', 'actions-version-workspace-preview', 'actions-version-workspace-sendtostage', 'actions-view-go-back', 'actions-view-go-down', 'actions-view-go-forward', 'actions-view-go-up', 'actions-view-list-collapse', 'actions-view-list-expand', 'actions-view-paging-first', 'actions-view-paging-first-disabled', 'actions-view-paging-last', 'actions-view-paging-last-disabled', 'actions-view-paging-next', 'actions-view-paging-next-disabled', 'actions-view-paging-previous', 'actions-view-paging-previous-disabled', 'actions-view-table-collapse', 'actions-view-table-expand', 'actions-window-open', 'apps-clipboard-images', 'apps-clipboard-list', 'apps-filetree-folder-add', 'apps-filetree-folder-default', 'apps-filetree-folder-list', 'apps-filetree-folder-locked', 'apps-filetree-folder-media', 'apps-filetree-folder-news', 'apps-filetree-folder-opened', 'apps-filetree-folder-recycler', 'apps-filetree-folder-temp', 'apps-filetree-folder-user', 'apps-filetree-mount', 'apps-filetree-root', 'apps-irre-collapsed', 'apps-irre-expanded', 'apps-pagetree-backend-user', 'apps-pagetree-backend-user-hideinmenu', 'apps-pagetree-collapse', 'apps-pagetree-drag-copy-above', 'apps-pagetree-drag-copy-below', 'apps-pagetree-drag-move-above', 'apps-pagetree-drag-move-below', 'apps-pagetree-drag-move-between', 'apps-pagetree-drag-move-into', 'apps-pagetree-drag-new-between', 'apps-pagetree-drag-new-inside', 'apps-pagetree-drag-place-denied', 'apps-pagetree-expand', 'apps-pagetree-folder-contains-approve', 'apps-pagetree-folder-contains-board', 'apps-pagetree-folder-contains-fe_users', 'apps-pagetree-folder-contains-news', 'apps-pagetree-folder-contains-shop', 'apps-pagetree-folder-default', 'apps-pagetree-page-advanced', 'apps-pagetree-page-advanced-hideinmenu', 'apps-pagetree-page-advanced-root', 'apps-pagetree-page-backend-users', 'apps-pagetree-page-backend-users-hideinmenu', 'apps-pagetree-page-backend-users-root', 'apps-pagetree-page-content-from-page', 'apps-pagetree-page-content-from-page-hideinmenu', 'apps-pagetree-page-default', 'apps-pagetree-page-domain', 'apps-pagetree-page-frontend-user', 'apps-pagetree-page-frontend-user-hideinmenu', 'apps-pagetree-page-frontend-user-root', 'apps-pagetree-page-frontend-users', 'apps-pagetree-page-frontend-users-hideinmenu', 'apps-pagetree-page-frontend-users-root', 'apps-pagetree-page-mountpoint', 'apps-pagetree-page-mountpoint-hideinmenu', 'apps-pagetree-page-mountpoint-root', 'apps-pagetree-page-no-icon-found', 'apps-pagetree-page-no-icon-found-hideinmenu', 'apps-pagetree-page-no-icon-found-root', 'apps-pagetree-page-not-in-menu', 'apps-pagetree-page-recycler', 'apps-pagetree-page-shortcut', 'apps-pagetree-page-shortcut-external', 'apps-pagetree-page-shortcut-external-hideinmenu', 'apps-pagetree-page-shortcut-external-root', 'apps-pagetree-page-shortcut-hideinmenu', 'apps-pagetree-page-shortcut-root', 'apps-pagetree-root', 'apps-pagetree-spacer', 'apps-tcatree-select-recursive', 'apps-toolbar-menu-actions', 'apps-toolbar-menu-cache', 'apps-toolbar-menu-opendocs', 'apps-toolbar-menu-search', 'apps-toolbar-menu-shortcut', 'apps-toolbar-menu-workspace', 'mimetypes-compressed', 'mimetypes-excel', 'mimetypes-media-audio', 'mimetypes-media-flash', 'mimetypes-media-image', 'mimetypes-media-video', 'mimetypes-other-other', 'mimetypes-pdf', 'mimetypes-powerpoint', 'mimetypes-text-css', 'mimetypes-text-csv', 'mimetypes-text-html', 'mimetypes-text-js', 'mimetypes-text-php', 'mimetypes-text-text', 'mimetypes-word', 'mimetypes-x-content-divider', 'mimetypes-x-content-domain', 'mimetypes-x-content-form', 'mimetypes-x-content-form-search', 'mimetypes-x-content-header', 'mimetypes-x-content-html', 'mimetypes-x-content-image', 'mimetypes-x-content-link', 'mimetypes-x-content-list-bullets', 'mimetypes-x-content-list-files', 'mimetypes-x-content-login', 'mimetypes-x-content-menu', 'mimetypes-x-content-multimedia', 'mimetypes-x-content-page-language-overlay', 'mimetypes-x-content-plugin', 'mimetypes-x-content-script', 'mimetypes-x-content-table', 'mimetypes-x-content-template', 'mimetypes-x-content-template-extension', 'mimetypes-x-content-template-static', 'mimetypes-x-content-text', 'mimetypes-x-content-text-picture', 'mimetypes-x-content-text-media', 'mimetypes-x-sys_action', 'mimetypes-x-sys_category', 'mimetypes-x-sys_language', 'mimetypes-x-sys_news', 'mimetypes-x-sys_workspace', 'mimetypes-x_belayout', 'status-dialog-error', 'status-dialog-information', 'status-dialog-notification', 'status-dialog-ok', 'status-dialog-warning', 'status-overlay-access-restricted', 'status-overlay-deleted', 'status-overlay-hidden', 'status-overlay-icon-missing', 'status-overlay-includes-subpages', 'status-overlay-locked', 'status-overlay-scheduled', 'status-overlay-scheduled-future-end', 'status-overlay-translated', 'status-status-checked', 'status-status-current', 'status-status-edit-read-only', 'status-status-icon-missing', 'status-status-locked', 'status-status-permission-denied', 'status-status-permission-granted', 'status-status-readonly', 'status-status-reference-hard', 'status-status-reference-soft', 'status-status-sorting-asc', 'status-status-sorting-desc', 'status-status-sorting-light-asc', 'status-status-sorting-light-desc', 'status-status-workspace-draft', 'status-system-extension-required', 'status-user-admin', 'status-user-backend', 'status-user-frontend', 'status-user-group-backend', 'status-user-group-frontend', 'status-warning-in-use', 'status-warning-lock', 'module-web', 'module-file', 'module-system', 'module-tools', 'module-user', 'module-help');
$GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'] = array('deleted', 'hidden', 'starttime', 'endtime', 'futureendtime', 'fe_group', 'protectedSection');
$GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'] = array('hidden' => 'status-overlay-hidden', 'fe_group' => 'status-overlay-access-restricted', 'starttime' => 'status-overlay-scheduled', 'endtime' => 'status-overlay-scheduled', 'futureendtime' => 'status-overlay-scheduled-future-end', 'readonly' => 'status-overlay-locked', 'deleted' => 'status-overlay-deleted', 'missing' => 'status-overlay-missing', 'translated' => 'status-overlay-translated', 'protectedSection' => 'status-overlay-includes-subpages');
示例8: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Interform', 'Kontaktformular');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Intertain Kontaktformular');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_interform_domain_model_kontakt', 'EXT:interform/Resources/Private/Language/locallang_csh_tx_interform_domain_model_kontakt.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_interform_domain_model_kontakt');
$GLOBALS['TCA']['tx_interform_domain_model_kontakt'] = array('ctrl' => array('title' => 'LLL:EXT:interform/Resources/Private/Language/locallang_db.xlf:tx_interform_domain_model_kontakt', 'label' => 'vorname', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'vorname,nachname,mail,unternehmen,position,telefon,nachricht,anhang,sonstiges,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Kontakt.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_interform_domain_model_kontakt.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_interform_domain_model_weddingform', 'EXT:interform/Resources/Private/Language/locallang_csh_tx_interform_domain_model_weddingform.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_interform_domain_model_weddingform');
$GLOBALS['TCA']['tx_interform_domain_model_weddingform'] = array('ctrl' => array('title' => 'LLL:EXT:interform/Resources/Private/Language/locallang_db.xlf:tx_interform_domain_model_weddingform', 'label' => 'salutation', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'salutation,first_name,last_name,street1,street2,city,state,zip,country,phone,mail,resort,comments,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/WeddingForm.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_interform_domain_model_weddingform.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_interform_domain_model_event', 'EXT:interform/Resources/Private/Language/locallang_csh_tx_interform_domain_model_event.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_interform_domain_model_event');
$GLOBALS['TCA']['tx_interform_domain_model_event'] = array('ctrl' => array('title' => 'LLL:EXT:interform/Resources/Private/Language/locallang_db.xlf:tx_interform_domain_model_event', 'label' => 'resort', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'resort,salutation,first_name,last_name,meeting,date1,date2,date_flexibility,alt_date1,alt_date2,room_numbers,company,street1,street2,city,state,zip,country,phone,mail,attendees,setup_rounds,setup_auditorium,setup_classroom,setup_conference,setup_exhibit,setup_cocktail,comments,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Event.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_interform_domain_model_event.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_interform_domain_model_spa', 'EXT:interform/Resources/Private/Language/locallang_csh_tx_interform_domain_model_spa.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_interform_domain_model_spa');
$GLOBALS['TCA']['tx_interform_domain_model_spa'] = array('ctrl' => array('title' => 'LLL:EXT:interform/Resources/Private/Language/locallang_db.xlf:tx_interform_domain_model_spa', 'label' => 'resort', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'resort,salutation,first_name,last_name,mail,phone,couple_names,treatment1,treatment1number,treatment1numbermore,treatment1date,treatment1time,treatment1timerange,treatment2,treatment2number,treatment2numbermore,treatment2date,treatment2time,treatment2timerange,treatment3,treatment3number,treatment3numbermore,treatment3date,treatment3time,treatment3timerange,message,requirements,occassion,occassion_other,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Spa.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_interform_domain_model_spa.gif'));
## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is overwritten with the defaults of the extension builder
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_interform';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_kontakt.xml');
示例9: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Photobox', 'Photobox #SK');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_photobox';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_photobox.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Photobox #SK');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_skphotobox_domain_model_photobox', 'EXT:sk_photobox/Resources/Private/Language/locallang_csh_tx_skphotobox_domain_model_photobox.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_skphotobox_domain_model_photobox');
$GLOBALS['TCA']['tx_skphotobox_domain_model_photobox'] = array('ctrl' => array('title' => 'LLL:EXT:sk_photobox/Resources/Private/Language/locallang_db.xlf:tx_skphotobox_domain_model_photobox', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,category,images,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Photobox.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_skphotobox_domain_model_photobox.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_skphotobox_domain_model_image', 'EXT:sk_photobox/Resources/Private/Language/locallang_csh_tx_skphotobox_domain_model_image.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_skphotobox_domain_model_image');
$GLOBALS['TCA']['tx_skphotobox_domain_model_image'] = array('ctrl' => array('title' => 'LLL:EXT:sk_photobox/Resources/Private/Language/locallang_db.xlf:tx_skphotobox_domain_model_image.title', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,thumb_image,big_image,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Image.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_skphotobox_domain_model_image.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_skphotobox_domain_model_category', 'EXT:sk_photobox/Resources/Private/Language/locallang_csh_tx_skphotobox_domain_model_category.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_skphotobox_domain_model_category');
$GLOBALS['TCA']['tx_skphotobox_domain_model_category'] = array('ctrl' => array('title' => 'LLL:EXT:sk_photobox/Resources/Private/Language/locallang_db.xlf:tx_skphotobox_domain_model_category', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,description,image,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Category.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_skphotobox_domain_model_category.gif'));
## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is overwritten with the defaults of the extension builder
示例10: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Single', 'Address - Single');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'List', 'Address - List');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'AbcList', 'Address - ABC List');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Default', 'NN Address');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/ContentDesigner', 'CD: Address in Page properties');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:nn_address/Configuration/TSconfig/default.txt">
');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_nnaddress_domain_model_person', 'EXT:nn_address/Resources/Private/Language/locallang_csh_tx_nnaddress_domain_model_person.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_nnaddress_domain_model_person');
$TCA['tx_nnaddress_domain_model_person'] = array('ctrl' => array('title' => 'LLL:EXT:nn_address/Resources/Private/Language/locallang_db.xlf:tx_nnaddress_domain_model_person', 'label' => 'last_name', 'label_alt' => 'first_name,organisation', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'gender,title,first_name,second_first_name,last_name,organisation,position,birthday,image,street,number,zip,city,phone,fax,email,website,notes,addresses,phones,mails,groups,categories,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Person.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nnaddress_domain_model_person.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_nnaddress_domain_model_person');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_nnaddress_domain_model_address', 'EXT:nn_address/Resources/Private/Language/locallang_csh_tx_nnaddress_domain_model_address.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_nnaddress_domain_model_address');
$TCA['tx_nnaddress_domain_model_address'] = array('ctrl' => array('title' => 'LLL:EXT:nn_address/Resources/Private/Language/locallang_db.xlf:tx_nnaddress_domain_model_address', 'label' => 'type', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'type,street,street_nr,building,room,zip,city,country,region,website', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Address.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nnaddress_domain_model_address.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_nnaddress_domain_model_phone', 'EXT:nn_address/Resources/Private/Language/locallang_csh_tx_nnaddress_domain_model_phone.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_nnaddress_domain_model_phone');
$TCA['tx_nnaddress_domain_model_phone'] = array('ctrl' => array('title' => 'LLL:EXT:nn_address/Resources/Private/Language/locallang_db.xlf:tx_nnaddress_domain_model_phone', 'label' => 'type', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'type,number', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Phone.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nnaddress_domain_model_phone.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_nnaddress_domain_model_mail', 'EXT:nn_address/Resources/Private/Language/locallang_csh_tx_nnaddress_domain_model_mail.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_nnaddress_domain_model_mail');
$TCA['tx_nnaddress_domain_model_mail'] = array('ctrl' => array('title' => 'LLL:EXT:nn_address/Resources/Private/Language/locallang_db.xlf:tx_nnaddress_domain_model_mail', 'label' => 'type', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'type,email', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Mail.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nnaddress_domain_model_mail.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_nnaddress_domain_model_group', 'EXT:nn_address/Resources/Private/Language/locallang_csh_tx_nnaddress_domain_model_group.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_nnaddress_domain_model_group');
$TCA['tx_nnaddress_domain_model_group'] = array('ctrl' => array('title' => 'LLL:EXT:nn_address/Resources/Private/Language/locallang_db.xlf:tx_nnaddress_domain_model_group', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,description,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Group.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nnaddress_domain_model_group.gif'));
// Flexform autloader
\NN\NnAddress\Utility\Flexform::flexFormAutoLoader();
示例11: defined
<?php
defined('TYPO3_MODE') or die;
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('user', 'setup', 'after:task', '', array('routeTarget' => \TYPO3\CMS\Setup\Controller\SetupModuleController::class . '::mainAction', 'access' => 'group,user', 'name' => 'user_setup', 'icon' => 'EXT:setup/Resources/Public/Icons/module-setup.svg', 'labels' => array('ll_ref' => 'LLL:EXT:setup/Resources/Private/Language/locallang_mod.xlf')));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_user_setup', 'EXT:setup/Resources/Private/Language/locallang_csh_mod.xlf');
$GLOBALS['TYPO3_USER_SETTINGS'] = array('columns' => array('realName' => array('type' => 'text', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_realName', 'table' => 'be_users', 'csh' => 'beUser_realName'), 'email' => array('type' => 'email', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:beUser_email', 'table' => 'be_users', 'csh' => 'beUser_email'), 'emailMeAtLogin' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:emailMeAtLogin', 'csh' => 'emailMeAtLogin'), 'password' => array('type' => 'password', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPassword', 'table' => 'be_users', 'csh' => 'newPassword'), 'password2' => array('type' => 'password', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:newPasswordAgain', 'table' => 'be_users', 'csh' => 'newPasswordAgain'), 'passwordCurrent' => array('type' => 'password', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:passwordCurrent', 'table' => 'be_users', 'csh' => 'passwordCurrent'), 'avatar' => array('label' => 'LLL:EXT:lang/locallang_tca.xlf:be_users.avatar', 'type' => 'avatar', 'table' => 'be_users', 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']), 'lang' => array('type' => 'select', 'itemsProcFunc' => \TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderLanguageSelect', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:language', 'csh' => 'language'), 'startModule' => array('type' => 'select', 'itemsProcFunc' => \TYPO3\CMS\Setup\Controller\SetupModuleController::class . '->renderStartModuleSelect', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:startModule', 'csh' => 'startModule'), 'thumbnailsByDefault' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:showThumbs', 'csh' => 'showThumbs'), 'titleLen' => array('type' => 'text', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:maxTitleLen', 'csh' => 'maxTitleLen'), 'edit_RTE' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:edit_RTE', 'csh' => 'edit_RTE'), 'edit_docModuleUpload' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:edit_docModuleUpload', 'csh' => 'edit_docModuleUpload'), 'showHiddenFilesAndFolders' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:showHiddenFilesAndFolders', 'csh' => 'showHiddenFilesAndFolders'), 'copyLevels' => array('type' => 'text', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:copyLevels', 'csh' => 'copyLevels'), 'recursiveDelete' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:recursiveDelete', 'csh' => 'recursiveDelete'), 'resetConfiguration' => array('type' => 'button', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfiguration', 'buttonlabel' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resetConfigurationButton', 'csh' => 'reset', 'onClick' => 'if (confirm(\'%s\')) { document.getElementById(\'setValuesToDefault\').value = 1; this.form.submit(); }', 'onClickLabels' => array('LLL:EXT:setup/Resources/Private/Language/locallang.xlf:setToStandardQuestion')), 'resizeTextareas_Flexible' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:resizeTextareas_Flexible', 'csh' => 'resizeTextareas_Flexible'), 'resizeTextareas_MaxHeight' => array('type' => 'text', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:flexibleTextareas_MaxHeight', 'csh' => 'flexibleTextareas_MaxHeight'), 'debugInWindow' => array('type' => 'check', 'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:debugInWindow', 'access' => 'admin')), 'showitem' => '--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:personal_data,realName,email,emailMeAtLogin,avatar,lang,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xml:passwordHeader,passwordCurrent,password,password2,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:opening,startModule,thumbnailsByDefault,titleLen,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:editFunctionsTab,edit_RTE,edit_docModuleUpload,showHiddenFilesAndFolders,resizeTextareas_Flexible,resizeTextareas_MaxHeight,copyLevels,recursiveDelete,resetConfiguration,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:adminFunctions,debugInWindow');
}
示例12: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Feeasygooglemap', 'EasyGoogleMap');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'EasyGoogleMap');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_easygooglemap_domain_model_location', 'EXT:easy_googlemap/Resources/Private/Language/locallang_csh_tx_easygooglemap_domain_model_location.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_easygooglemap_domain_model_location');
$TCA['tx_easygooglemap_domain_model_location'] = array('ctrl' => array('title' => 'LLL:EXT:easy_googlemap/Resources/Private/Language/locallang_db.xlf:tx_easygooglemap_domain_model_location', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title, infobox, city, country, postal_code, street, anchorx, anchory, longitude, latitude, icon, link', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Location.php', 'iconfile' => \TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('7.5') ? 'EXT:easy_googlemap/Resources/Public/Icons/tx_easygooglemap_domain_model_location.png' : \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_easygooglemap_domain_model_location.png'));
示例13: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
// register frontend plugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('CPSIT.' . $_EXTKEY, 'Pi1', 'Reservations');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Reservations');
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('CPSIT.' . $_EXTKEY, 'Events', 'm1', '', ['Backend\\Bookings' => 'list, show, edit, update, cancel, delete, newParticipant, createParticipant,
editParticipant, removeParticipant, newNotification, createNotification, reset, download'], ['access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module_icon_reservation.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_m1.xlf']);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('CPSIT.' . $_EXTKEY, 'Events', 'm3', '', ['Backend\\Participant' => 'list, download,reset'], ['access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module_icon_participant.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_m3.xlf']);
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_t3eventsreservation_domain_model_reservation', 'EXT:t3events_reservation/Resources/Private/Language/locallang_csh_tx_t3eventsreservation_domain_model_reservation.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_t3eventsreservation_domain_model_reservation');
// add sprite icons
\TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(['download-excel-white' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_excel_white.png', 'download-excel-blue' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_excel_blue.png'], $_EXTKEY);
示例14: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Requests', 'Gebetsanliegen');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Kool', 'Gebetskalender');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'External', 'Externe Gebetskalender');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Gebetsanliegen und -kalender');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_vmfdsprayers_domain_model_request', 'EXT:vmfds_prayers/Resources/Private/Language/locallang_csh_tx_vmfdsprayers_domain_model_request.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_vmfdsprayers_domain_model_request');
$GLOBALS['TCA']['tx_vmfdsprayers_domain_model_request'] = array('ctrl' => array('title' => 'LLL:EXT:vmfds_prayers/Resources/Private/Language/locallang_db.xlf:tx_vmfdsprayers_domain_model_request', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'name,show_name,email,request,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Request.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_vmfdsprayers_domain_model_request.gif'));
示例15: defined
<?php
defined('TYPO3_MODE') or die;
if (TYPO3_MODE === 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('sys_action') . 'toolbarmenu/registerToolbarItem.php';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_action', 'EXT:sys_action/locallang_csh_sysaction.xlf');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tx_sysaction_task'] = array('title' => 'LLL:EXT:sys_action/locallang_tca.xlf:sys_action', 'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xlf:.description', 'icon' => 'EXT:sys_action/x-sys_action.png');
}