当前位置: 首页>>代码示例>>PHP>>正文


PHP ExtensionManagementUtility::addToInsertRecords方法代码示例

本文整理汇总了PHP中TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords方法的典型用法代码示例。如果您正苦于以下问题:PHP ExtensionManagementUtility::addToInsertRecords方法的具体用法?PHP ExtensionManagementUtility::addToInsertRecords怎么用?PHP ExtensionManagementUtility::addToInsertRecords使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TYPO3\CMS\Core\Utility\ExtensionManagementUtility的用法示例。


在下文中一共展示了ExtensionManagementUtility::addToInsertRecords方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['location'] = 'tx_storefinder_domain_model_location';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_storefinder_domain_model_location');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_storefinder_domain_model_location');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_storefinder_domain_model_attribute');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_storefinder_domain_model_attribute');
/** @noinspection PhpUndefinedVariableInspection */
$tempColumns = array('children' => array('exclude' => 1, 'label' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xml:sys_category.children', 'config' => array('type' => 'inline', 'foreign_table' => 'sys_category', 'foreign_field' => 'parent')));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('sys_category', $tempColumns, 1);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('sys_category', 'children', '', 'after:parent');
$pluginSignature = 'storefinder_map';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout, select_key';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_ds.xml');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Map', 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xml:tt_content.list_type_map');
/**
 * Default TypoScript
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Store Finder');
开发者ID:woodyc79,项目名称:store_finder,代码行数:23,代码来源:ext_tables.php

示例2: die

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$extPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY);
// Allow all calendar records on standard pages, in addition to SysFolders.
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_event');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_category');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_calendar');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_exception_event');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_exception_event_group');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_location');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_organizer');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_unknown_users');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_attendee');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_fe_user_event_monitor_mm');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_cal_event_deviation');
// Add Calendar Events to the "Insert Records" content element
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_cal_event');
// initalize 'context sensitive help' (csh)
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cal_event', 'EXT:cal/Resources/Private/Help/locallang_csh_txcalevent.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cal_calendar', 'EXT:cal/Resources/Private/Help/locallang_csh_txcalcal.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cal_category', 'EXT:cal/Resources/Private/Help/locallang_csh_txcalcat.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cal_exception_event', 'EXT:cal/Resources/Private/Help/locallang_csh_txcalexceptionevent.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cal_exception_event_group', 'EXT:cal/Resources/Private/Help/locallang_csh_txcalexceptioneventgroup.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cal_location', 'EXT:cal/Resources/Private/Help/locallang_csh_txcallocation.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cal_organizer', 'EXT:cal/Resources/Private/Help/locallang_csh_txcalorganizer.php');
if (TYPO3_MODE == "BE") {
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule("tools", "calrecurrencegenerator", "", $extPath . "Classes/Backend/Modul/");
    $GLOBALS['TBE_MODULES_EXT']['xMOD_db_new_content_el']['addElClasses']['TYPO3\\CMS\\Cal\\Backend\\CalWizIcon'] = $extPath . 'Classes/Backend/CalWizIcon.php';
}
开发者ID:ulrikkold,项目名称:cal,代码行数:30,代码来源:ext_tables.php

示例3: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_sfpipauth_ipconfiguration');
// Allow table record on standard pages
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sfpipauth_ipconfiguration');
开发者ID:senders,项目名称:sfpipauth,代码行数:8,代码来源:ext_tables.php

示例4: die

<?php

/*  | This extension is part of the TYPO3 project. The TYPO3 project is
 *  | free software and is licensed under GNU General Public License.
 *  |
 *  | (c) 2011-2015 Armin Ruediger Vieweg <armin@v.ieweg.de>
 *  |     2015 Dennis Roemmich <dennis@roemmich.eu>
 */
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$boot = function ($extensionKey) {
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($extensionKey, 'Configuration/TypoScript', 'pwComments');
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_pwcomments_domain_model_comment');
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_pwcomments_domain_model_comment');
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_pwcomments_domain_model_vote');
};
$boot($_EXTKEY);
unset($boot);
开发者ID:mmunz,项目名称:pw_comments,代码行数:19,代码来源:ext_tables.php

示例5: array

			tx_commerce_article_types = 1
			tx_commerce_attributes = 1
			tx_commerce_attribute_values = 1
			tx_commerce_categories = 1
			tx_commerce_trackingcodes = 1
			tx_commerce_moveordermails = 1
		}
	');
    // Add default page TS config
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
		# CONFIGURATION of RTE in table "tx_commerce_products", field "description"
		RTE.config.tx_commerce_products.description {
			hidePStyleItems = H1, H4, H5, H6
			proc.exitHTMLparser_db = 1
			proc.exitHTMLparser_db {
				keepNonMatchedTags = 1
				tags.font.allowedAttribs = color
				tags.font.rmTagIfNoAttrib = 1
				tags.font.nesting = global
			}
		}

		# CONFIGURATION of RTE in table "tx_commerce_articles", field "description_extra"
		RTE.config.tx_commerce_articles.description_extra < RTE.config.tx_commerce_products.description
	');
}
// Add context menu for category trees in BE
$GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'Tx_Commerce_Utility_ClickmenuUtility', 'path' => PATH_TXCOMMERCE . 'Classes/Utility/ClickmenuUtility.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_commerce_categories');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_commerce_products');
开发者ID:AndreasA,项目名称:commerce,代码行数:30,代码来源:ext_tables.php

示例6: defined

<?php

defined('TYPO3_MODE') or die;
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tt_address');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tt_address');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tt_address', 'EXT:tt_address/locallang_csh_ttaddress.xml');
if (TYPO3_MODE === 'BE') {
    $GLOBALS['TBE_MODULES_EXT']['xMOD_db_new_content_el']['addElClasses']['tx_ttaddress_pi1_wizicon'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'pi1/class.tx_ttaddress_pi1_wizicon.php';
    // classes for manipulating flexforms
    include_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'class.tx_ttaddress_addfilestosel.php';
    include_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'class.tx_ttaddress_addfieldstosel.php';
}
开发者ID:patrickzzz,项目名称:tt_address,代码行数:12,代码来源:ext_tables.php

示例7: strtolower

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('TYPO3.' . $_EXTKEY, 'Rss', 'T3Blog Extbase: RSS');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('TYPO3.' . $_EXTKEY, 'Categories', 'T3Blog Extbase: Categories');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('TYPO3.' . $_EXTKEY, 'LatestPosts', 'T3Blog Extbase: LatestPosts');
$pluginSignature = strtolower($extensionName) . '_latestposts';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform,recursive';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/LatestPosts.xml');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('TYPO3.' . $_EXTKEY, 'LatestComments', 'T3Blog Extbase: LatestComments');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_t3blog_post');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_t3blog_post');
$GLOBALS['TCA']['tx_t3blog_post'] = array('ctrl' => array('title' => 'LLL:EXT:t3extblog/Resources/Private/Language/locallang_db.xml:tx_t3blog_post', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'author', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy', 'hideAtCopy' => TRUE, 'default_sortby' => 'ORDER BY date DESC', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/Post.php', 'typeicon_classes' => ['default' => 'extensions-t3extblog-post'], 'dividers2tabs' => TRUE, 'searchFields' => 'title'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_t3blog_cat');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_t3blog_cat');
$GLOBALS['TCA']['tx_t3blog_cat'] = array('ctrl' => array('title' => 'LLL:EXT:t3extblog/Resources/Private/Language/locallang_db.xml:tx_t3blog_cat', 'label' => 'catname', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy', 'hideAtCopy' => TRUE, 'treeParentField' => 'parent_id', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/Category.php', 'typeicon_classes' => ['default' => 'extensions-t3extblog-category'], 'dividers2tabs' => TRUE, 'searchFields' => 'catname,description'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_t3blog_com');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_t3blog_com');
$GLOBALS['TCA']['tx_t3blog_com'] = array('ctrl' => array('title' => 'LLL:EXT:t3extblog/Resources/Private/Language/locallang_db.xml:tx_t3blog_com', 'label' => 'title', 'label_alt' => 'fk_post', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate DESC', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/Comment.php', 'typeicon_classes' => ['default' => 'extensions-t3extblog-comment'], 'dividers2tabs' => TRUE, 'searchFields' => 'title,author,email,website,text'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_t3blog_com_nl');
$GLOBALS['TCA']['tx_t3blog_com_nl'] = array('ctrl' => array('title' => 'LLL:EXT:t3extblog/Resources/Private/Language/locallang_db.xml:tx_t3blog_com_nl', 'label' => 'email', 'label_alt' => 'post_uid', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'default_sortby' => 'ORDER BY crdate DESC', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/Subscriber.php', 'typeicon_classes' => ['default' => 'extensions-t3extblog-subscriber'], 'searchFields' => 'email,name'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_t3blog_pingback');
$GLOBALS['TCA']['tx_t3blog_pingback'] = array('ctrl' => array('title' => 'LLL:EXT:t3extblog/Resources/Private/Language/locallang_db.xml:tx_t3blog_pingback', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/Pingback.php', 'typeicon_classes' => ['default' => 'extensions-t3extblog-trackback'], 'searchFields' => 'title,url,text,'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_t3blog_trackback');
$GLOBALS['TCA']['tx_t3blog_trackback'] = array('ctrl' => array('title' => 'LLL:EXT:t3extblog/Resources/Private/Language/locallang_db.xml:tx_t3blog_trackback', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/Trackback.php', 'typeicon_classes' => ['default' => 'extensions-t3extblog-trackback'], 'searchFields' => 'title,fromurl,text,blogname'));
if (TYPO3_MODE === 'BE') {
    $pageModuleConfig = array(0 => 'T3extblog', 1 => 't3blog', 2 => 'tcarecords-pages-contains-t3blog');
    // @todo Remove if statement when 6.2 is no longer relevant
    if (version_compare(TYPO3_branch, '7.6', '>=')) {
        // Add icons to registry
        /* @var $iconRegistry \TYPO3\CMS\Core\Imaging\IconRegistry */
        $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
        $iconRegistry->registerIcon('extensions-t3extblog-post', \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class, ['source' => 'EXT:t3extblog/Resources/Public/Icons/page.png']);
开发者ID:dextar1,项目名称:t3extblog,代码行数:31,代码来源:ext_tables.php

示例8: array

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('tools_txwmdbbaseewhM1', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'txwmdbbaseewhM1', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
//}
$allPossibleOptions = 'bodytext;;;richtext:rte_transform[flag=rte_enabled|mode=ts_css], pi_flexform, subheader, header_link, image, media, imagewidth, imageorient, imagecaption, imagecols, imageborder, layout, records';
$GLOBALS['TCA']['tt_content']['types'][$_EXTKEY . '_cached']['showitem'] = '
	CType;;wmdblayout;;1-1-1, header;;3;;2-2-2,,
	--div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.1, layout;;1-1-1, ' . $allPossibleOptions . ',
	--div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access, starttime, endtime, fe_group
	';
$GLOBALS['TCA']['tt_content']['types'][$_EXTKEY . '_cached']['subtypes_excludelist'][''] = 'header_link,sys_language_uid, colPos, section_frame, pi_flexform, sectionIndex,bodytext, subheader, pi_flexform,layout,spaceBefore,spaceAfter,section_frame';
/**
 * New option group:
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('Testing group 1', '--div--1'), 'tx_wmdbbaseewh_list_type', $_EXTKEY);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_wmdbbaseewh_slide');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_wmdbbaseewh_slide');
$TCA['tx_wmdbbaseewh_slide'] = array('ctrl' => array('title' => 'LLL:EXT:wmdb_base_ewh/locallang_db.xml:tx_wmdbbaseewh_slide', 'label' => 'headline', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/tx_wmdbbaseewh_slide.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'icon_tx_wmdbbaseewh_slide.gif'));
$TCA['tx_wmdbbaseewh_courses'] = array('ctrl' => array('title' => 'LLL:EXT:wmdb_base_ewh/locallang_db.xml:tx_wmdbbaseewh_courses', 'label' => 'headline', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/tx_wmdbbaseewh_courses.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'icon_tx_wmdbbaseewh_courses.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_wmdbbaseewh_courses', 'tx_wmdbbasewh_courses_cats', array('label' => 'LLL:EXT:wmdb_base_ewh/locallang_db.xml:tx_wmdbbaseewh_courses.category', 'exclude' => FALSE, 'fieldConfiguration' => array('foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1, 0) ORDER BY sys_category.title ASC'), 'l10n_mode' => 'exclude', 'l10n_display' => 'hideDiff'));
$TCA['tx_wmdbbaseewh_links'] = array('ctrl' => array('title' => 'LLL:EXT:wmdb_base_ewh/locallang_db.xml:tx_wmdbbaseewh_links', 'label' => 'label', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/tx_wmdbbaseewh_links.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'icon_tx_wmdbbaseewh_links.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_wmdbbaseewh_links');
$TCA['tx_wmdbbaseewh_speaker'] = array('ctrl' => array('title' => 'LLL:EXT:wmdb_base_ewh/locallang_db.xml:tx_wmdbbaseewh_speaker', 'label' => 'lastname', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/tx_wmdbbaseewh_speaker.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'icon_tx_wmdbbaseewh_speaker.gif'));
$TCA['tx_wmdbbaseewh_speaker_milestones'] = array('ctrl' => array('title' => 'LLL:EXT:wmdb_base_ewh/locallang_db.xml:tx_wmdbbaseewh_speaker_milestones', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/tx_wmdbbaseewh_speaker_milestones.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'icon_tx_wmdbbaseewh_speaker_milestones.gif'));
/**
 * ##################################################
 * #		INCLUDE OF CE TYPE DEFINITIONS			#
 * ##################################################
 */
if (file_exists(PATH_site . 'typo3conf/ext/' . $_EXTKEY . '/Configuration/CEDefinition.php')) {
    include PATH_site . 'typo3conf/ext/' . $_EXTKEY . '/Configuration/CEDefinition.php';
}
开发者ID:Entwicklungshilfe-NRW,项目名称:wmdb_base_ewh,代码行数:31,代码来源:ext_tables.php

示例9: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TCA["tx_rsqbe_domain_model_credentials"] = array("ctrl" => array('title' => 'LLL:EXT:rsqbe/locallang_db.xml:tx_rsqbe_domain_model_credentials', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', "sortby" => "sorting", "delete" => "deleted", "dynamicConfigFile" => \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . "tca.php", "iconfile" => \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . "icon_tx_rsqbe_domain_model_credentials.gif"), "feInterface" => array("fe_admin_fieldList" => "title, type, host, dbms, username, passw, conn_type, setdbinit, connection_uri, connection_localconf"));
\TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_rsqbe_domain_model_query");
\TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::addToInsertRecords("tx_rsqbe_domain_model_query");
$TCA["tx_rsqbe_domain_model_query"] = array("ctrl" => array('title' => 'LLL:EXT:rsqbe/locallang_db.xml:tx_rsqbe_domain_model_query', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', "default_sortby" => "ORDER BY title", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden", "fe_group" => "fe_group"), "dynamicConfigFile" => \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . "tca.php", "iconfile" => \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . "icon_tx_rsqbe_domain_model_query.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, fe_group, type, title, description, query, search, insertq, credentials, dbname, searchinquery"));
\TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_rsqbe_domain_model_query");
\TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::allowTableOnStandardPages("tx_rsqbe_domain_model_backend");
$TCA["tx_rsqbe_domain_model_backend"] = array("ctrl" => array('title' => 'LLL:EXT:rsqbe/locallang_db.xml:tx_rsqbe_domain_model_backend', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', "default_sortby" => "ORDER BY sorting", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dividers2tabs" => true, "dynamicConfigFile" => \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . "tca.php", "iconfile" => \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . "icon_tx_rsqbe_domain_model_query.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden,title,description,listq,detailsq,searchq,insertq,typoscript,recordsforpage"));
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
\TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:rsqbe/flexform_ds.xml');
\TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:rsqbe/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
\TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, "pi1/static/", "DB Integration");
if (TYPO3_MODE == "BE") {
    $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_rsqbe_pi1_wizicon"] = \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'pi1/static/class.tx_rsqbe_domain_model_pi1_wizicon.php';
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::addModule('user', 'txrsqbeM1', '', \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
    \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::addModule('web', 'txrsqbeM2', '', \TYPO3\CMS\CORE\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod2/');
}
开发者ID:woepwoep,项目名称:rsqbe,代码行数:24,代码来源:ext_tables.php


注:本文中的TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。