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


PHP ExtensionManagementUtility::getFileFieldTCAConfig方法代码示例

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


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

示例1: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TCA['tx_dpnglossary_domain_model_term'] = array('ctrl' => $TCA['tx_dpnglossary_domain_model_term']['ctrl'], 'interface' => array('showRecordFieldList' => 'sys_language_uid, l10n_diffsource, hidden, name, name_alternative, tooltiptext, descriptions, term_type, term_lang, images'), 'types' => array('1' => array('showitem' => 'hidden;;1, name, name_alternative, tooltiptext, descriptions, term_type, term_lang, images')), 'palettes' => array('1' => array('showitem' => '')), 'columns' => array('sys_language_uid' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => array('type' => 'select', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => array(array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)))), 'l10n_parent' => array('displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config' => array('type' => 'select', 'items' => array(array('', 0)), 'foreign_table' => 'tx_dpnglossary_domain_model_term', 'foreign_table_where' => 'AND tx_dpnglossary_domain_model_term.pid=###CURRENT_PID### AND tx_dpnglossary_domain_model_term.sys_language_uid IN (-1,0)')), 'l10n_diffsource' => array('config' => array('type' => 'passthrough')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => 30, 'max' => 255)), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => array('type' => 'check')), 'name' => array('exclude' => 0, 'label' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.name', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim,required')), 'tooltiptext' => array('exclude' => 0, 'label' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.tooltiptext', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'descriptions' => array('exclude' => 0, 'label' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.descriptions', 'config' => array('type' => 'inline', 'foreign_table' => 'tx_dpnglossary_domain_model_description', 'foreign_field' => 'term', 'foreign_label' => 'meaning', 'minitems' => 1, 'maxitems' => 9999, 'appearance' => array('newRecordLinkTitle' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary.new_description', 'useSortable' => 1), 'behaviour' => array('localizationMode' => 'select', 'localizeChildrenAtParentLocalization' => TRUE))), 'name_alternative' => array('exclude' => 0, 'label' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.name_alternative', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'term_type' => array('exclude' => 0, 'label' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.term_type', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.term_type_none', ''), array('LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.term_type_definition', 'definition'), array('LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.term_type_abbreviation', 'abbreviation'), array('LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.term_type_acronym', 'acronym')), 'default' => '')), 'term_lang' => array('exclude' => 0, 'label' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.term_lang', 'config' => array('type' => 'input', 'size' => 2, 'max' => 2, 'eval' => 'trim,lower,nospace,alpha')), 'images' => array('exclude' => 0, 'label' => 'LLL:EXT:dpn_glossary/Resources/Private/Language/locallang.xlf:tx_dpnglossary_domain_model_term.images', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('images', array('appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'), 'minitems' => 0, 'maxitems' => 10), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']))));
开发者ID:rico3000,项目名称:dpn_glossary,代码行数:6,代码来源:Term.php

示例2: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$GLOBALS['TCA']['tx_companymanagement_domain_model_team'] = array('ctrl' => $GLOBALS['TCA']['tx_companymanagement_domain_model_team']['ctrl'], 'interface' => array('showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, designation, image, telephone, mobile, fax, email,description'), 'types' => array('1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, designation, image, telephone, mobile, fax, email ,  description;;;richtext:rte_transform[mode=ts_links], --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime')), 'palettes' => array('1' => array('showitem' => '')), 'columns' => array('sys_language_uid' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => array('type' => 'select', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => array(array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)))), 'l10n_parent' => array('displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config' => array('type' => 'select', 'items' => array(array('', 0)), 'foreign_table' => 'tx_companymanagement_domain_model_team', 'foreign_table_where' => 'AND tx_companymanagement_domain_model_team.pid=###CURRENT_PID### AND tx_companymanagement_domain_model_team.sys_language_uid IN (-1,0)')), 'l10n_diffsource' => array('config' => array('type' => 'passthrough')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => 30, 'max' => 255)), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => array('type' => 'check')), 'starttime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'endtime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'name' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.name', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'designation' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.designation', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'image' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image', array('maxitems' => 1), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])), 'telephone' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.telephone', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'mobile' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.mobile', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'fax' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.fax', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'email' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.email', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'description' => array('exclude' => 1, 'label' => 'LLL:EXT:company_management/Resources/Private/Language/locallang_db.xlf:tx_companymanagement_domain_model_team.description', 'config' => array('type' => 'text', 'cols' => 40, 'rows' => 15, 'eval' => 'trim', 'wizards' => array('RTE' => array('icon' => 'wizard_rte2.gif', 'notNewRecords' => 1, 'RTEonly' => 1, 'script' => 'wizard_rte.php', 'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.RTE', 'type' => 'script'))))));
开发者ID:typo3union,项目名称:Python,代码行数:6,代码来源:Team.php

示例3: array

<?php

return array('ctrl' => array('title' => 'LLL:EXT:go_maabwizerd/Resources/Private/Language/locallang_db.xlf:tx_gomaabwizerd_domain_model_storeme', 'label' => 'firstname', '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' => 'firstname,lastname,address,userimage,phoneno,userdiscription,', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('go_maabwizerd') . 'Resources/Public/Icons/tx_gomaabwizerd_domain_model_storeme.gif'), 'interface' => array('showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, firstname, lastname, address, userimage, phoneno, userdiscription'), 'types' => array('1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, firstname, lastname, address, userimage, phoneno, userdiscription, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime')), 'palettes' => array('1' => array('showitem' => '')), 'columns' => array('sys_language_uid' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => array('type' => 'select', 'renderType' => 'selectSingle', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => array(array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)))), 'l10n_parent' => array('displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config' => array('type' => 'select', 'renderType' => 'selectSingle', 'items' => array(array('', 0)), 'foreign_table' => 'tx_gomaabwizerd_domain_model_storeme', 'foreign_table_where' => 'AND tx_gomaabwizerd_domain_model_storeme.pid=###CURRENT_PID### AND tx_gomaabwizerd_domain_model_storeme.sys_language_uid IN (-1,0)')), 'l10n_diffsource' => array('config' => array('type' => 'passthrough')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => 30, 'max' => 255)), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => array('type' => 'check')), 'starttime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'endtime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'firstname' => array('exclude' => 1, 'label' => 'LLL:EXT:go_maabwizerd/Resources/Private/Language/locallang_db.xlf:tx_gomaabwizerd_domain_model_storeme.firstname', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'lastname' => array('exclude' => 1, 'label' => 'LLL:EXT:go_maabwizerd/Resources/Private/Language/locallang_db.xlf:tx_gomaabwizerd_domain_model_storeme.lastname', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'address' => array('exclude' => 1, 'label' => 'LLL:EXT:go_maabwizerd/Resources/Private/Language/locallang_db.xlf:tx_gomaabwizerd_domain_model_storeme.address', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'userimage' => array('exclude' => 1, 'label' => 'LLL:EXT:go_maabwizerd/Resources/Private/Language/locallang_db.xlf:tx_gomaabwizerd_domain_model_storeme.userimage', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('userimage', array('appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'), 'foreign_types' => array('0' => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette')), 'maxitems' => 1), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])), 'phoneno' => array('exclude' => 1, 'label' => 'LLL:EXT:go_maabwizerd/Resources/Private/Language/locallang_db.xlf:tx_gomaabwizerd_domain_model_storeme.phoneno', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'userdiscription' => array('exclude' => 1, 'label' => 'LLL:EXT:go_maabwizerd/Resources/Private/Language/locallang_db.xlf:tx_gomaabwizerd_domain_model_storeme.userdiscription', 'config' => array('type' => 'text', 'cols' => 40, 'rows' => 15, 'eval' => 'trim'))));
开发者ID:maab127,项目名称:default7,代码行数:15,代码来源:tx_gomaabwizerd_domain_model_storeme.php

示例4: array

     hidden,
     content_element,
     type,
     color,
     title,
     link,
     image,
 '), 'types' => array('1' => array('showitem' => '
     hidden;;1,
     content_element,
     type,
     color,
     title,
     link,
     image,
 '), '2' => array('showitem' => '
     hidden;;1,
     content_element,
     type,
     title,
     link,
     image,
 '), '3' => array('showitem' => '
     hidden;;1,
     content_element,
     type,
     title,
     link,
     image,
 ')), 'palettes' => array('1' => array('showitem' => '')), 'columns' => array('hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => array('type' => 'check')), 'content_element' => array('exclude' => 0, 'label' => 'LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:tx_t3crrcontentelements_sponsorfeature_item.content_element', 'config' => array('type' => 'select', 'foreign_table' => 'tt_content', 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.CType="t3crr_sponsorfeature"', 'maxitems' => 1)), 'type' => array('config' => array('default' => 1, 'items' => array(array('LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:sponsors.premium', 1), array('LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:sponsors.value', 2), array('LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:sponsors.media', 3)), 'maxitems' => 1, 'size' => 1, 'type' => 'select', 'exclude' => 1), 'label' => 'LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:tx_t3crrcontentelements_sponsorfeature_item.type'), 'color' => array('label' => 'Farbe', 'exclude' => 1, 'config' => array('type' => 'select', 'items' => array(array('white', 'white'), array('grey', 'grey'), array('black', 'black'), array('blue', 'blue')), 'default' => 'white')), 'title' => array('exclude' => 0, 'label' => 'LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:tx_t3crrcontentelements_sponsorfeature_item.title', 'config' => array('type' => 'input', 'size' => 50, 'eval' => 'trim,required')), 'image' => array('exclude' => 0, 'label' => 'LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:tx_t3crrcontentelements_sponsorfeature_item.image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image', array('appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'), 'minitems' => 0, 'maxitems' => 1), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])), 'link' => array('label' => 'LLL:EXT:t3crr_contentelements/Resources/Private/Language/Language.xml:tx_t3crrcontentelements_sponsorfeature_item.link', 'config' => array('type' => 'input', 'max' => 256, 'size' => 50, 'softref' => 'typolink', 'wizards' => array('link' => array('type' => 'popup', 'icon' => 'link_popup.gif', 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1', 'script' => 'browse_links.php?mode=wizard', 'title' => 'LLL:EXT:cms/locallang_ttc.xml:header_link_formlabel'), '_PADDING' => 2)))));
开发者ID:xnet74,项目名称:t3crr_contentelements,代码行数:30,代码来源:SponsorFeatureItem.php

示例5: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$GLOBALS['TCA']['tx_skphotobox_domain_model_image'] = array('ctrl' => $GLOBALS['TCA']['tx_skphotobox_domain_model_image']['ctrl'], 'interface' => array('showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, thumb_image, big_image'), 'types' => array('1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, title, thumb_image, big_image, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime')), 'palettes' => array('1' => array('showitem' => '')), 'columns' => array('sys_language_uid' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => array('type' => 'select', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => array(array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)))), 'l10n_parent' => array('displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config' => array('type' => 'select', 'items' => array(array('', 0)), 'foreign_table' => 'tx_skphotobox_domain_model_image', 'foreign_table_where' => 'AND tx_skphotobox_domain_model_image.pid=###CURRENT_PID### AND tx_skphotobox_domain_model_image.sys_language_uid IN (-1,0)')), 'l10n_diffsource' => array('config' => array('type' => 'passthrough')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => 30, 'max' => 255)), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => array('type' => 'check')), 'starttime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'endtime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'title' => array('exclude' => 1, 'label' => 'LLL:EXT:sk_photobox/Resources/Private/Language/locallang_db.xlf:tx_skphotobox_domain_model_image.title', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'thumb_image' => array('exclude' => 1, 'label' => 'LLL:EXT:sk_photobox/Resources/Private/Language/locallang_db.xlf:tx_skphotobox_domain_model_image.thumb_image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('thumbImage', array('maxitems' => 1), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])), 'big_image' => array('exclude' => 1, 'label' => 'LLL:EXT:sk_photobox/Resources/Private/Language/locallang_db.xlf:tx_skphotobox_domain_model_image.big_image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('bigImage', array('maxitems' => 1), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])), 'photobox' => array('config' => array('type' => 'passthrough'))));
## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is overwritten with the defaults of the extension builder
开发者ID:kroell,项目名称:TYPO3.Extbase.Photobox,代码行数:7,代码来源:Image.php

示例6: array

<?php

return array('ctrl' => array('label' => 'header', 'label_alt' => 'bodytext', 'sortby' => 'sorting', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'title' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item', 'delete' => 'deleted', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'hideAtCopy' => false, 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'languageField' => 'sys_language_uid', 'dividers2tabs' => true, 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'typeicon_classes' => array('default' => 'content-bootstrappackage-tab-item')), 'interface' => array('showRecordFieldList' => '
            hidden,
            tt_content,
            header,
            bodytext
        '), 'types' => array('1' => array('showitem' => '
            --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
            header,
            bodytext,
            media,
            mediaorient,
            --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
            --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
            --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
        ')), 'palettes' => array('1' => array('showitem' => ''), 'access' => array('showitem' => '
                starttime;LLL:EXT:cms/locallang_ttc.xlf:starttime_formlabel,
                endtime;LLL:EXT:cms/locallang_ttc.xlf:endtime_formlabel
            ', 'canNotCollapse' => 1), 'general' => array('showitem' => '
                tt_content
            ', 'canNotCollapse' => 1), 'visibility' => array('showitem' => '
                hidden;LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item
            ', 'canNotCollapse' => 1)), 'columns' => array('tt_content' => array('exclude' => 0, 'label' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item.tt_content', 'config' => array('type' => 'select', 'foreign_table' => 'tt_content', 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.CType="bootstrap_package_tab"', 'maxitems' => 1)), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:cms/locallang_ttc.xlf:hidden.I.0')))), 'starttime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0'), 'l10n_mode' => 'exclude', 'l10n_display' => 'defaultAsReadonly'), 'endtime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0', 'range' => array('upper' => mktime(0, 0, 0, 12, 31, 2020))), 'l10n_mode' => 'exclude', 'l10n_display' => 'defaultAsReadonly'), 'sys_language_uid' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => array('type' => 'select', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => array(array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)))), 'l10n_parent' => array('displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.l18n_parent', 'config' => array('type' => 'select', 'items' => array(array('', 0)), 'foreign_table' => 'tx_bootstrappackage_tab_item', 'foreign_table_where' => 'AND tx_bootstrappackage_tab_item.uid=###REC_FIELD_l10n_parent### AND tx_bootstrappackage_tab_item.sys_language_uid IN (-1,0)')), 'l10n_diffsource' => array('config' => array('type' => 'passthrough')), 'header' => array('exclude' => 0, 'label' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item.header', 'config' => array('type' => 'input', 'size' => 50, 'eval' => 'trim,required')), 'bodytext' => array('exclude' => 0, 'label' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item.bodytext', 'config' => array('type' => 'text', 'cols' => 40, 'rows' => 3), 'defaultExtras' => 'richtext:rte_transform[flag=rte_enabled|mode=ts_css]'), 'media' => array('exclude' => 0, 'label' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item.media', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media', array('appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'), 'foreign_types' => array('0' => array('showitem' => '
                                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
                                --palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array('showitem' => '
                                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
                                --palette--;;filePalette')), 'minitems' => 0, 'maxitems' => 1), $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'])), 'mediaorient' => array('exclude' => 1, 'label' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item.mediaorient', 'config' => array('type' => 'select', 'renderType' => 'selectSingle', 'items' => array(array('LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item.mediaorient.left', 0), array('LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:tab_item.mediaorient.right', 1)), 'default' => 0))));
开发者ID:GurneyHallack,项目名称:bootstrap_package,代码行数:28,代码来源:tx_bootstrappackage_tab_item.php

示例7: array

<?php

return array('ctrl' => array('label' => 'title', 'tstamp' => 'tstamp', 'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages_language_overlay', 'versioningWS' => true, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'transOrigPointerField' => 'pid', 'transOrigPointerTable' => 'pages', 'transOrigDiffSourceField' => 'l18n_diffsource', 'shadowColumnsForNewPlaceholders' => 'title', 'languageField' => 'sys_language_uid', 'type' => 'doktype', 'typeicon_classes' => array('default' => 'mimetypes-x-content-page-language-overlay'), 'searchFields' => 'title,subtitle,nav_title,keywords,description,abstract,author,author_email,url'), 'interface' => array('showRecordFieldList' => 'title,hidden,starttime,endtime,keywords,description,abstract'), 'columns' => array('doktype' => $GLOBALS['TCA']['pages']['columns']['doktype'], 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.hidden', 'config' => array('type' => 'check', 'default' => '0', 'items' => array('1' => array('0' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.hidden_checkbox_1_formlabel')))), 'starttime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => array('type' => 'input', 'size' => '13', 'eval' => 'datetime', 'default' => '0')), 'endtime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => array('type' => 'input', 'size' => '13', 'eval' => 'datetime', 'default' => '0', 'range' => array('upper' => mktime(0, 0, 0, 12, 31, 2020)))), 'title' => array('l10n_mode' => 'prefixLangTitle', 'label' => $GLOBALS['TCA']['pages']['columns']['title']['label'], 'l10n_cat' => 'text', 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim,required')), 'subtitle' => array('exclude' => 1, 'l10n_cat' => 'text', 'label' => $GLOBALS['TCA']['pages']['columns']['subtitle']['label'], 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim')), 'nav_title' => array('exclude' => 1, 'l10n_cat' => 'text', 'label' => $GLOBALS['TCA']['pages']['columns']['nav_title']['label'], 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim')), 'keywords' => array('exclude' => 1, 'label' => $GLOBALS['TCA']['pages']['columns']['keywords']['label'], 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'description' => array('exclude' => 1, 'label' => $GLOBALS['TCA']['pages']['columns']['description']['label'], 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'abstract' => array('exclude' => 1, 'label' => $GLOBALS['TCA']['pages']['columns']['abstract']['label'], 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'author' => array('exclude' => 1, 'label' => $GLOBALS['TCA']['pages']['columns']['author']['label'], 'config' => array('type' => 'input', 'size' => '23', 'eval' => 'trim', 'max' => '80')), 'author_email' => array('exclude' => 1, 'label' => $GLOBALS['TCA']['pages']['columns']['author_email']['label'], 'config' => array('type' => 'input', 'size' => '23', 'eval' => 'trim', 'max' => '80', 'softref' => 'email[subst]')), 'media' => array('exclude' => 1, 'label' => $GLOBALS['TCA']['pages']['columns']['media']['label'], 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media')), 'url' => array('exclude' => 1, 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.url', 'config' => array('type' => 'input', 'size' => '23', 'max' => '255', 'eval' => 'trim', 'softref' => 'url')), 'urltype' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type', 'config' => array('type' => 'select', 'renderType' => 'selectSingle', 'items' => $GLOBALS['TCA']['pages']['columns']['urltype']['config']['items'], 'default' => '1')), 'shortcut' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.shortcut_page', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => '1', 'maxitems' => '1', 'minitems' => '0', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest')))), 'shortcut_mode' => array('exclude' => 1, 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.shortcut_mode', 'config' => array('type' => 'select', 'renderType' => 'selectSingle', 'items' => $GLOBALS['TCA']['pages']['columns']['shortcut_mode']['config']['items'], 'default' => '0')), 'sys_language_uid' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => array('type' => 'select', 'renderType' => 'selectSingle', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => array(), 'default' => 0, 'showIconTable' => true)), 'tx_impexp_origuid' => array('config' => array('type' => 'passthrough')), 'l18n_diffsource' => array('config' => array('type' => 'passthrough', 'default' => '')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => '30', 'max' => '255'))), 'types' => array((string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT => array('showitem' => '--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.standard;standard,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.title;title,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.access,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.access;access,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.metadata,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.abstract;abstract,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.metatags;metatags,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.editorial;editorial,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.resources,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.media;media,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.extended,
		'), (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array('showitem' => '--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.external;external,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.title;title,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.access,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.access;access,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.metadata,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.abstract;abstract,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.editorial;editorial,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.resources,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.media;media,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.extended,
		'), (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT => array('showitem' => '--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.shortcut;shortcut,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.shortcutpage;shortcutpage,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.title;title,
				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.access,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
					--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.access;access,
开发者ID:rickymathew,项目名称:TYPO3.CMS,代码行数:31,代码来源:pages_language_overlay.php

示例8: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sschhtml5videoplayer_domain_model_audio');
return ['ctrl' => ['title' => 'LLL:EXT:ssch_html5videoplayer/Resources/Private/Language/locallang_db.xlf:tx_sschhtml5videoplayer_domain_model_audio', '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' => ['disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'], 'iconfile' => TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('ssch_html5videoplayer') . 'Resources/Public/Icons/tx_sschhtml5videoplayer_domain_model_audio.gif'], 'interface' => ['showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, audio_source, image'], 'types' => ['1' => ['showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, title, image, description;;;richtext[paste|bold|italic|underline|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|indent|link|image]:rte_transform[mode=ts], audio_source, --div--;LLL:EXT:ssch_html5videoplayer/Resources/Private/Language/locallang_db.xlf:tx_sschhtml5videoplayer_domain_model_audio.categories, categories, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,starttime, endtime']], 'palettes' => ['1' => ['showitem' => '']], 'columns' => ['sys_language_uid' => ['exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => ['type' => 'select', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => [['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1], ['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]]]], 'l10n_parent' => ['displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config' => ['type' => 'select', 'items' => [['', 0]], 'foreign_table' => 'tx_sschhtml5videoplayer_domain_model_audio', 'foreign_table_where' => 'AND tx_sschhtml5videoplayer_domain_model_audio.pid=###CURRENT_PID### AND tx_sschhtml5videoplayer_domain_model_audio.sys_language_uid IN (-1,0)']], 'l10n_diffsource' => ['config' => ['type' => 'passthrough']], 't3ver_label' => ['label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => ['type' => 'input', 'size' => 30, 'max' => 255]], 'hidden' => ['exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => ['type' => 'check']], 'starttime' => ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => ['type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => ['lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))]]], 'endtime' => ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => ['type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => ['lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))]]], 'title' => ['exclude' => 1, 'label' => 'LLL:EXT:ssch_html5videoplayer/Resources/Private/Language/locallang_db.xlf:tx_sschhtml5videoplayer_domain_model_audio.title', 'config' => ['type' => 'input', 'size' => 30, 'eval' => 'trim,required']], 'description' => ['exclude' => 1, 'label' => 'LLL:EXT:ssch_html5videoplayer/Resources/Private/Language/locallang_db.xlf:tx_sschhtml5videoplayer_domain_model_video.description', 'config' => ['type' => 'text', 'cols' => 40, 'rows' => 15, 'wizards' => ['_PADDING' => 2, 'RTE' => ['notNewRecords' => 1, 'RTEonly' => 1, 'type' => 'script', 'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet', 'icon' => 'wizard_rte2.gif', 'script' => 'wizard_rte.php']]]], 'audio_source' => ['exclude' => 1, 'label' => 'LLL:EXT:ssch_html5videoplayer/Resources/Private/Language/locallang_db.xlf:tx_sschhtml5videoplayer_domain_model_audio.audio_source', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('$(field_name)', ['maxitems' => 1], 'mp3')], 'image' => ['exclude' => 1, 'label' => 'LLL:EXT:ssch_html5videoplayer/Resources/Private/Language/locallang_db.xlf:tx_sschhtml5videoplayer_domain_model_audio.image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image', ['maxitems' => 1], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])], 'categories' => ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:ssch_html5videoplayer/Resources/Private/Language/locallang_db.xlf:tx_sschhtml5videoplayer_domain_model_audio.categories', 'config' => ['type' => 'select', 'renderMode' => 'tree', 'treeConfig' => ['parentField' => 'parent', 'appearance' => ['showHeader' => true, 'allowRecursiveMode' => true, 'expandAll' => true, 'maxLevels' => 99]], 'MM' => 'sys_category_record_mm', 'MM_match_fields' => ['fieldname' => 'categories', 'tablenames' => 'tx_sschhtml5videoplayer_domain_model_audio'], 'MM_opposite_field' => 'items', 'foreign_table' => 'sys_category', 'foreign_table_where' => ' AND (sys_category.sys_language_uid = 0 OR sys_category.l10n_parent = 0) ORDER BY sys_category.sorting', 'size' => 10, 'autoSizeMax' => 20, 'minitems' => 0, 'maxitems' => 20]]]];
开发者ID:sabbelasichon,项目名称:ssch_html5videoplayer,代码行数:7,代码来源:tx_sschhtml5videoplayer_domain_model_audio.php

示例9: array

<?php

## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is overwritten with the defaults of the extension builder
$GLOBALS['TCA']['tx_jsfaq_domain_model_content']['columns']['options']['config']['items'] = array(array('LLL:EXT:js_faq/Resources/Private/Language/locallang_db.xlf:tx_jsfaq_domain_model_content.options.I.0', 0), array('LLL:EXT:js_faq/Resources/Private/Language/locallang_db.xlf:tx_jsfaq_domain_model_content.options.I.1', 1), array('LLL:EXT:js_faq/Resources/Private/Language/locallang_db.xlf:tx_jsfaq_domain_model_content.options.I.2', 2));
$GLOBALS['TCA']['tx_jsfaq_domain_model_content']['ctrl']['requestUpdate'] = 'options';
$GLOBALS['TCA']['tx_jsfaq_domain_model_content']['columns']['description']['config']['defaultExtras'] = 'richtext:rte_transform[flag=rte_enabled|mode=ts]';
$GLOBALS['TCA']['tx_jsfaq_domain_model_content']['columns']['description']['displayCond'] = 'FIELD:options:=:1';
$GLOBALS['TCA']['tx_jsfaq_domain_model_content']['columns']['image']['config'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image', array('maxitems' => 99), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']);
$GLOBALS['TCA']['tx_jsfaq_domain_model_content']['columns']['image']['displayCond'] = 'FIELD:options:=:2';
开发者ID:jainishsenjaliya,项目名称:js_faq,代码行数:9,代码来源:tx_jsfaq_domain_model_content.php

示例10: defined

<?php

defined('TYPO3_MODE') or die;
$_LLL = 'LLL:EXT:cart/Resources/Private/Language/locallang_db.xlf';
$newSysCategoryColumns = ['images' => ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => $_LLL . ':tx_cart_domain_model_category.image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('images', ['appearance' => ['createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference', 'showPossibleLocalizationRecords' => 1, 'showRemovedLocalizationRecords' => 1, 'showAllLocalizationLink' => 1, 'showSynchronizationLink' => 1], 'foreign_match_fields' => ['fieldname' => 'images', 'tablenames' => 'sys_category', 'table_local' => 'sys_file']], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])], 'cart_product_single_pid' => ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => $_LLL . ':tx_cart_domain_model_category.cart_product_single_pid', 'config' => ['type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => 1, 'maxitems' => 1, 'minitems' => 0, 'show_thumbs' => 1, 'default' => 0, 'wizards' => ['suggest' => ['type' => 'suggest', 'default' => ['searchWholePhrase' => true]]]]]];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('sys_category', $newSysCategoryColumns);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('sys_category', '--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.options, images', '', 'before:description');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('sys_category', 'cart_product_single_pid', '', 'after:description');
开发者ID:extcode,项目名称:cart,代码行数:8,代码来源:sys_category.php

示例11: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$GLOBALS['TCA']['tx_whoshop_domain_model_track'] = array('ctrl' => $GLOBALS['TCA']['tx_whoshop_domain_model_track']['ctrl'], 'interface' => array('showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, track_number, title, authority, has_example, example'), 'types' => array('0' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, title, authority, --div--;LLL:EXT:who_shop/Resources/Private/Language/locallang_db.xlf:tx_whoshop_domain_model_track.div.audio, has_example, example, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime')), 'palettes' => array('1' => array('showitem' => '')), 'columns' => array('sys_language_uid' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => array('type' => 'select', 'foreign_table' => 'sys_language', 'foreign_table_where' => 'ORDER BY sys_language.title', 'items' => array(array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)))), 'l10n_parent' => array('displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config' => array('type' => 'select', 'items' => array(array('', 0)), 'foreign_table' => 'tx_whoshop_domain_model_track', 'foreign_table_where' => 'AND tx_whoshop_domain_model_track.pid=###CURRENT_PID### AND tx_whoshop_domain_model_track.sys_language_uid IN (-1,0)')), 'l10n_diffsource' => array('config' => array('type' => 'passthrough')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => 30, 'max' => 255)), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => array('type' => 'check')), 'starttime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'endtime' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => array('type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'checkbox' => 0, 'default' => 0, 'range' => array('lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))))), 'track_number' => array('exclude' => 1, 'label' => 'LLL:EXT:who_shop/Resources/Private/Language/locallang_db.xlf:tx_whoshop_domain_model_track.track_number', 'config' => array('type' => 'input', 'size' => 1, 'eval' => 'trim')), 'title' => array('exclude' => 1, 'label' => 'LLL:EXT:who_shop/Resources/Private/Language/locallang_db.xlf:tx_whoshop_domain_model_track.title', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'required,trim')), 'authority' => array('exclude' => 1, 'label' => 'LLL:EXT:who_shop/Resources/Private/Language/locallang_db.xlf:tx_whoshop_domain_model_track.authority', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')), 'has_example' => array('exclude' => 1, 'label' => 'LLL:EXT:who_shop/Resources/Private/Language/locallang_db.xlf:tx_whoshop_domain_model_track.has_example', 'config' => array('type' => 'check', 'default' => '0', 'eval' => 'num')), 'example' => array('exclude' => 0, 'displayCond' => 'FIELD:has_example:=:1', 'label' => 'LLL:EXT:who_shop/Resources/Private/Language/locallang_db.xlf:tx_whoshop_domain_model_track.example', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media')), 'content_element' => array('config' => array('type' => 'passthrough')), 'sorting' => array('config' => array('type' => 'passthrough'))));
开发者ID:sebastianhofer-private,项目名称:dumfartshop,代码行数:6,代码来源:Track.php

示例12: array

						--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;newsPalette,
						--palette--;;imageoverlayPalette,
						--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array('showitem' => '
						--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;newsPalette,
						--palette--;;imageoverlayPalette,
						--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => array('showitem' => '
						--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;newsPalette,
						--palette--;;imageoverlayPalette,
						--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => array('showitem' => '
						--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;newsPalette,
						--palette--;;imageoverlayPalette,
						--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => array('showitem' => '
						--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;newsPalette,
						--palette--;;imageoverlayPalette,
						--palette--;;filePalette'))), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . ',flv,mp4'));
    $tx_news_domain_model_news['columns']['fal_related_files'] = array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => '' . $ll . 'tx_news_domain_model_news.fal_related_files', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('fal_related_files', array('appearance' => array('createNewRelationLinkTitle' => $ll . 'tx_news_domain_model_news.fal_related_files.add', 'showPossibleLocalizationRecords' => 1, 'showRemovedLocalizationRecords' => 1, 'showAllLocalizationLink' => 1, 'showSynchronizationLink' => 1), 'foreign_match_fields' => array('fieldname' => 'fal_related_files', 'tablenames' => 'tx_news_domain_model_news', 'table_local' => 'sys_file'))));
    // only use FAL
    if ($configuration->getUseFal() === 1) {
        foreach ($tx_news_domain_model_news['types'] as $key => $config) {
            $tx_news_domain_model_news['types'][$key]['showitem'] = str_replace(array(',media,', ',related_files,'), array(',fal_media,', ',fal_related_files,'), $config['showitem']);
        }
        unset($tx_news_domain_model_news['columns']['media']);
        unset($tx_news_domain_model_news['columns']['related_files']);
        // use FAL and media multimedia
    } elseif ($configuration->getUseFal() === 3) {
        foreach ($tx_news_domain_model_news['types'] as $key => $config) {
            $tx_news_domain_model_news['types'][$key]['showitem'] = str_replace(array(',media,', ',related_files,'), array(',fal_media,media,', ',fal_related_files,'), $config['showitem']);
        }
        unset($tx_news_domain_model_news['columns']['related_files']);
        // change media label
        $tx_news_domain_model_news['columns']['media']['label'] = $ll . 'tx_news_domain_model_media.type.I.1';
开发者ID:woehrlag,项目名称:Intranet,代码行数:31,代码来源:tx_news_domain_model_news.php

示例13:

<?php

return ['ctrl' => ['title' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY time_sort', 'delete' => 'deleted', 'enablecolumns' => ['disabled' => 'hidden'], 'dividers2tabs' => 1, 'iconfile' => 'EXT:theaterinfo/Resources/Public/Icons/icon_tx_theaterinfo_domain_model_play.gif', 'searchFields' => 'title'], 'interface' => ['showRecordFieldList' => 'hidden,title,author,time_sort,time_display,teaser,action,logo,pictures,state,roles,hide_roles,helpers,hide_helpers,advance_sale'], 'columns' => ['hidden' => ['exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', 'config' => ['type' => 'check', 'default' => '0']], 'title' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.title', 'config' => ['type' => 'input', 'size' => '30']], 'author' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.author', 'config' => ['type' => 'text', 'cols' => '30', 'rows' => '5']], 'time_sort' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.time_sort', 'config' => ['type' => 'input', 'size' => '12', 'max' => '20', 'eval' => 'datetime', 'checkbox' => '0', 'default' => '0']], 'time_display' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.time_display', 'config' => ['type' => 'input', 'size' => '30']], 'teaser' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.teaser', 'config' => ['type' => 'text', 'cols' => '30', 'rows' => '5']], 'action' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.action', 'config' => ['type' => 'text', 'cols' => '30', 'rows' => '5']], 'logo' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.logo', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('logo', ['maxitems' => 1, 'foreign_types' => ['0' => ['showitem' => '
								--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;tx_theaterinfo_cropimage,
								--palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => ['showitem' => '
								--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;tx_theaterinfo_cropimage,
								--palette--;;filePalette']]], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])], 'pictures' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.pictures', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('pictures', ['maxitems' => 20, 'foreign_types' => ['0' => ['showitem' => '
								--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;tx_theaterinfo_playpicture,
								--palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => ['showitem' => '
								--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;tx_theaterinfo_playpicture,
								--palette--;;filePalette']]], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])], 'state' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.state', 'config' => ['type' => 'select', 'renderType' => 'selectSingle', 'items' => [['LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.state.I.0', '0'], ['LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.state.I.1', '1'], ['LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.state.I.2', '2'], ['LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.state.I.3', '3']], 'size' => 1, 'maxitems' => 1]], 'roles' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.roles', 'config' => ['type' => 'inline', 'foreign_table' => 'tx_theaterinfo_domain_model_role', 'foreign_field' => 'playuid', 'foreign_class' => 'Tx_Theaterinfo_Domain_Model_Role', 'maxitems' => 100, 'appearance' => ['collapseAll' => 1, 'expandSingle' => 1]]], 'hide_roles' => ['exclude' => 1, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.hide_roles', 'config' => ['type' => 'check', 'default' => '0']], 'helpers' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.helpers', 'config' => ['type' => 'inline', 'foreign_table' => 'tx_theaterinfo_domain_model_helper', 'foreign_field' => 'playuid', 'foreign_class' => 'Tx_Theaterinfo_Domain_Model_Helper', 'maxitems' => 100, 'appearance' => ['collapseAll' => 1, 'expandSingle' => 1]]], 'hide_helpers' => ['exclude' => 1, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.hide_helpers', 'config' => ['type' => 'check', 'default' => '0']], 'advance_sale' => ['exclude' => 0, 'label' => 'LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.advance_sale', 'config' => ['type' => 'text', 'cols' => '30', 'rows' => '5']]], 'types' => ['0' => ['showitem' => '
				--div--;LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.properties, title, hidden, author, time_sort, time_display, state, teaser,
				--div--;LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.action, action,
				--div--;LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.pictures, logo, pictures,
				--div--;LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.roles, hide_roles, roles,
				--div--;LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.helpers, hide_helpers, helpers,
				--div--;LLL:EXT:theaterinfo/Resources/Private/Language/locallang_db.xml:tx_theaterinfo_domain_model_play.advance_sale, advance_sale
			', 'columnsOverrides' => ['action' => ['defaultExtras' => 'richtext:rte_transform[mode=ts_css]'], 'advance_sale' => ['defaultExtras' => 'richtext:rte_transform[mode=ts_css]']]]]];
开发者ID:astehlik,项目名称:typo3-extension-theaterinfo,代码行数:18,代码来源:tx_theaterinfo_domain_model_play.php

示例14: defined

<?php

defined('TYPO3_MODE') or die;
call_user_func(function () {
    $tempColumns['profile_image'] = ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:sso/Resources/Private/Language/locallang_db.xlf:fe_users.profile_image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('profile_image', ['appearance' => ['createNewRelationLinkTitle' => 'LLL:EXT:sso/Resources/Private/Language/locallang_db.xlf:fe_users.profile_image.add'], 'foreign_types' => [\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => ['showitem' => '
                    --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
                    --palette--;;filePalette']]], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])];
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns, 1);
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'profile_image;;;;1-1-1', '', 'after:image');
});
开发者ID:t3dd,项目名称:T3DD16.Backend,代码行数:10,代码来源:fe_users.php

示例15: IN

<?php

return ['ctrl' => ['title' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xlf:tx_testextension_domain_model_child3', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => true, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => ['disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'], 'searchFields' => 'name,password,image_property,', 'iconfile' => 'EXT:test_extension/Resources/Public/Icons/tx_testextension_domain_model_child3.gif'], 'interface' => ['showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, password, image_property'], 'types' => ['1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, password, image_property, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime']], 'columns' => ['sys_language_uid' => ['exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config' => ['type' => 'select', 'renderType' => 'selectSingle', 'special' => 'languages', 'items' => [['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1, 'flags-multiple']], 'default' => 0]], 'l10n_parent' => ['displayCond' => 'FIELD:sys_language_uid:>:0', 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config' => ['type' => 'select', 'renderType' => 'selectSingle', 'items' => [['', 0]], 'foreign_table' => 'tx_testextension_domain_model_child3', 'foreign_table_where' => 'AND tx_testextension_domain_model_child3.pid=###CURRENT_PID### AND tx_testextension_domain_model_child3.sys_language_uid IN (-1,0)']], 'l10n_diffsource' => ['config' => ['type' => 'passthrough']], 't3ver_label' => ['label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config' => ['type' => 'input', 'size' => 30, 'max' => 255]], 'hidden' => ['exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config' => ['type' => 'check', 'items' => ['1' => ['0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled']]]], 'starttime' => ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => ['type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'default' => 0, 'range' => ['lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))]]], 'endtime' => ['exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config' => ['type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime', 'default' => 0, 'range' => ['lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))]]], 'name' => ['exclude' => 1, 'label' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xlf:tx_testextension_domain_model_child3.name', 'config' => ['type' => 'input', 'size' => 30, 'eval' => 'trim,required']], 'password' => ['exclude' => 1, 'label' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xlf:tx_testextension_domain_model_child3.password', 'config' => ['type' => 'input', 'size' => 30, 'eval' => 'nospace,password']], 'image_property' => ['exclude' => 1, 'label' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xlf:tx_testextension_domain_model_child3.image_property', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image_property', ['appearance' => ['createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'], 'foreign_types' => ['0' => ['showitem' => '
			                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
			                --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => ['showitem' => '
			                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
			                --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => ['showitem' => '
			                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
			                --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => ['showitem' => '
			                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
			                --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => ['showitem' => '
			                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
			                --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => ['showitem' => '
			                --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
			                --palette--;;filePalette']], 'maxitems' => 1, 'minitems' => 1], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])]]];
开发者ID:TYPO3,项目名称:extension_builder,代码行数:15,代码来源:tx_testextension_domain_model_child3.php


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