TYPO3 CMS  TYPO3_7-6
sys_file_collection.php File Reference

Go to the source code of this file.

Variables

 return ['ctrl'=> ['title'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection', 'label'=> 'title', 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'cruser_id'=> 'cruser_id', 'versioningWS'=> true, 'origUid'=> 't3_origuid', 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l10n_parent', 'transOrigDiffSourceField'=> 'l10n_diffsource', 'default_sortby'=> 'ORDER BY crdate', 'delete'=> 'deleted', 'type'=> 'type', 'typeicon_column'=> 'type', 'typeicon_classes'=> ['default'=> 'apps-filetree-folder-media', 'static'=> 'apps-clipboard-images', 'folder'=> 'apps-filetree-folder-media'], 'requestUpdate'=> 'storage', 'enablecolumns'=> ['disabled'=> 'hidden', 'starttime'=> 'starttime', 'endtime'=> 'endtime'], 'searchFields'=> 'files, title'], 'interface'=> ['showRecordFieldList'=> 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, starttime, endtime, files, title'], 'columns'=> ['t3ver_label'=> ['label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config'=> ['type'=> 'input', 'size'=> '30', 'max'=> '30']], 'sys_language_uid'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config'=> ['type'=> 'select', 'renderType'=> 'selectSingle', '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]], 'default'=> 0, 'showIconTable'=> true,]], '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'=> 'sys_file_collection', 'foreign_table_where'=> 'AND sys_file_collection.pid=###CURRENT_PID### AND sys_file_collection.sys_language_uid IN(-1, 0)']], 'l10n_diffsource'=> ['config'=> ['type'=> 'passthrough', 'default'=> '']], 'hidden'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config'=> ['type'=> 'check', 'default'=> '0']], 'starttime'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config'=> ['type'=> 'input', 'size'=> '8', 'max'=> '20', 'eval'=> 'date', 'default'=> '0',]], 'endtime'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config'=> ['type'=> 'input', 'size'=> '8', 'max'=> '20', 'eval'=> 'date', 'default'=> '0', 'range'=> ['upper'=> mktime(0, 0, 0, 1, 1, 2038),]]], 'type'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type', 'config'=> ['type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [['LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type.0', 'static'], ['LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type.1', 'folder'], ['LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type.2', 'category']]]], 'files'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.files', 'config'=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('files')], 'title'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.title', 'config'=> ['type'=> 'input', 'size'=> '30', 'eval'=> 'required']], 'storage'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.storage', 'config'=> ['type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [['', 0]], 'foreign_table'=> 'sys_file_storage', 'foreign_table_where'=> 'ORDER BY sys_file_storage.name', 'size'=> 1, 'minitems'=> 0, 'maxitems'=> 1]], 'folder'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.folder', 'config'=> ['type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [], 'itemsProcFunc'=> 'TYPO3\\CMS\\Core\\Resource\\Service\\UserFileMountService->renderTceformsSelectDropdown', 'default'=> '',]], 'recursive'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.recursive', 'config'=> ['type'=> 'check', 'default'=> 0]], 'category'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.category', 'config'=> ['minitems'=> 0, 'maxitems'=> 1, 'type'=> 'select', 'renderType'=> 'selectTree', 'foreign_table'=> 'sys_category', 'foreign_table_where'=> ' AND sys_category.sys_language_uid IN(-1, 0) ORDER BY sys_category.sorting ASC', 'treeConfig'=> ['parentField'=> 'parent', 'appearance'=> ['expandAll'=> true, 'showHeader'=> true,]]]]], 'types'=> ['0'=> ['showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, files',], 'static'=> ['showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, files',], 'folder'=> ['showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, storage, folder, recursive',], 'category'=> ['showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, category',],], 'palettes'=> ['1'=> ['showitem'=> 'hidden, starttime, endtime',],],]
 

Variable Documentation

◆ return

return[ 'ctrl'=> [ 'title'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection', 'label'=> 'title', 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'cruser_id'=> 'cruser_id', 'versioningWS'=> true, 'origUid'=> 't3_origuid', 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l10n_parent', 'transOrigDiffSourceField'=> 'l10n_diffsource', 'default_sortby'=> 'ORDER BY crdate', 'delete'=> 'deleted', 'type'=> 'type', 'typeicon_column'=> 'type', 'typeicon_classes'=> [ 'default'=> 'apps-filetree-folder-media', 'static'=> 'apps-clipboard-images', 'folder'=> 'apps-filetree-folder-media'], 'requestUpdate'=> 'storage', 'enablecolumns'=> [ 'disabled'=> 'hidden', 'starttime'=> 'starttime', 'endtime'=> 'endtime'], 'searchFields'=> 'files, title'], 'interface'=> [ 'showRecordFieldList'=> 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, starttime, endtime, files, title'], 'columns'=> [ 't3ver_label'=> [ 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config'=> [ 'type'=> 'input', 'size'=> '30', 'max'=> '30']], 'sys_language_uid'=> [ 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.language', 'config'=> [ 'type'=> 'select', 'renderType'=> 'selectSingle', '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]], 'default'=> 0, 'showIconTable'=> true,]], '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'=> 'sys_file_collection', 'foreign_table_where'=> 'AND sys_file_collection.pid=###CURRENT_PID### AND sys_file_collection.sys_language_uid IN(-1, 0)']], 'l10n_diffsource'=> [ 'config'=> [ 'type'=> 'passthrough', 'default'=> '']], 'hidden'=> [ 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config'=> [ 'type'=> 'check', 'default'=> '0']], 'starttime'=> [ 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config'=> [ 'type'=> 'input', 'size'=> '8', 'max'=> '20', 'eval'=> 'date', 'default'=> '0',]], 'endtime'=> [ 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config'=> [ 'type'=> 'input', 'size'=> '8', 'max'=> '20', 'eval'=> 'date', 'default'=> '0', 'range'=> [ 'upper'=> mktime(0, 0, 0, 1, 1, 2038),]]], 'type'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type', 'config'=> [ 'type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [ [ 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type.0', 'static'], [ 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type.1', 'folder'], [ 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type.2', 'category']]]], 'files'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.files', 'config'=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig( 'files')], 'title'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.title', 'config'=> [ 'type'=> 'input', 'size'=> '30', 'eval'=> 'required']], 'storage'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.storage', 'config'=> [ 'type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [ ['', 0]], 'foreign_table'=> 'sys_file_storage', 'foreign_table_where'=> 'ORDER BY sys_file_storage.name', 'size'=> 1, 'minitems'=> 0, 'maxitems'=> 1]], 'folder'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.folder', 'config'=> [ 'type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [], 'itemsProcFunc'=> 'TYPO3\\CMS\\Core\\Resource\\Service\\UserFileMountService->renderTceformsSelectDropdown', 'default'=> '',]], 'recursive'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.recursive', 'config'=> [ 'type'=> 'check', 'default'=> 0]], 'category'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.category', 'config'=> [ 'minitems'=> 0, 'maxitems'=> 1, 'type'=> 'select', 'renderType'=> 'selectTree', 'foreign_table'=> 'sys_category', 'foreign_table_where'=> ' AND sys_category.sys_language_uid IN(-1, 0) ORDER BY sys_category.sorting ASC', 'treeConfig'=> [ 'parentField'=> 'parent', 'appearance'=> [ 'expandAll'=> true, 'showHeader'=> true,]]]]], 'types'=> [ '0'=> [ 'showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, files',], 'static'=> [ 'showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, files',], 'folder'=> [ 'showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, storage, folder, recursive',], 'category'=> [ 'showitem'=> 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, category',],], 'palettes'=> [ '1'=> [ 'showitem'=> 'hidden, starttime, endtime',],],]

Definition at line 213 of file sys_file_collection.php.