TYPO3 CMS  TYPO3_7-6
sys_file_reference.php File Reference

Go to the source code of this file.

Variables

 return ['ctrl'=> ['title'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference', 'label'=> 'uid_local', 'formattedLabel_userFunc'=> 'TYPO3\\CMS\\Core\\Resource\\Service\\UserFileInlineLabelService->getInlineLabel', 'formattedLabel_userFunc_options'=> ['sys_file'=> ['title', 'name']], 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'cruser_id'=> 'cruser_id', 'type'=> 'uid_local:type', 'hideTable'=> true, 'sortby'=> 'sorting', 'delete'=> 'deleted', 'versioningWS'=> true, 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l10n_parent', 'transOrigDiffSourceField'=> 'l10n_diffsource', 'rootLevel'=> -1, 'shadowColumnsForMovePlaceholders'=> 'tablenames, fieldname, uid_local, table_local, uid_foreign', 'enablecolumns'=> ['disabled'=> 'hidden'], 'typeicon_classes'=> ['default'=> 'mimetypes-other-other'], 'security'=> ['ignoreWebMountRestriction'=> true, 'ignoreRootLevelRestriction'=> true,], 'searchFields'=> 'uid_local, uid_foreign, tablenames, fieldname, title, description'], 'interface'=> ['showRecordFieldList'=> 'hidden, uid_local, uid_foreign, tablenames, fieldname, sorting_foreign, table_local, title, description'], 'columns'=> ['t3ver_label'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config'=> ['type'=> 'input', 'size'=> '30', 'max'=> '30']], 'sys_language_uid'=> ['exclude'=> 0, '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'=> 0, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config'=> ['type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [['', 0]], 'foreign_table'=> 'sys_file_reference', 'foreign_table_where'=> 'AND sys_file_reference.uid=###REC_FIELD_l10n_parent### AND sys_file_reference.sys_language_uid IN(-1, 0)', 'default'=> 0]], 'l10n_diffsource'=> ['exclude'=> 0, 'config'=> ['type'=> 'passthrough', 'default'=> '']], 'hidden'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config'=> ['type'=> 'check', 'default'=> '0']], 'uid_local'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.uid_local', 'config'=> ['type'=> 'group', 'internal_type'=> 'db', 'size'=> 1, 'eval'=> 'int', 'maxitems'=> 1, 'minitems'=> 0, 'allowed'=> 'sys_file']], 'uid_foreign'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.uid_foreign', 'config'=> ['type'=> 'input', 'size'=> '10', 'eval'=> 'int']], 'tablenames'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.tablenames', 'config'=> ['type'=> 'input', 'size'=> '30', 'eval'=> 'trim']], 'fieldname'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.fieldname', 'config'=> ['type'=> 'input', 'size'=> '30']], 'sorting_foreign'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.sorting_foreign', 'config'=> ['type'=> 'input', 'size'=> '4', 'max'=> '4', 'eval'=> 'int', 'default'=> 0]], 'table_local'=> ['exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.table_local', 'config'=> ['type'=> 'input', 'size'=> '20', 'default'=> 'sys_file']], 'title'=> ['l10n_mode'=> 'prefixLangTitle', 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.title', 'config'=> ['type'=> 'input', 'size'=> '20', 'max'=> 255, 'eval'=> 'null', 'placeholder'=> '__row|uid_local|metadata|title', 'mode'=> 'useOrOverridePlaceholder', 'default'=> null,]], 'link'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.link', 'config'=> ['type'=> 'input', 'size'=> '20', 'max'=> 1024, 'wizards'=> ['link'=> ['type'=> 'popup', 'title'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.link', 'icon'=> 'actions-wizard-link', 'module'=> ['name'=> 'wizard_link',], 'JSopenParams'=> 'width=800, height=600, status=0, menubar=0, scrollbars=1']], 'softref'=> 'typolink']], 'description'=> ['l10n_mode'=> 'prefixLangTitle', 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.description', 'config'=> ['type'=> 'text', 'cols'=> '20', 'rows'=> '5', 'eval'=> 'null', 'placeholder'=> '__row|uid_local|metadata|description', 'mode'=> 'useOrOverridePlaceholder', 'default'=> null,]], 'alternative'=> ['l10n_mode'=> 'prefixLangTitle', 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.alternative', 'config'=> ['type'=> 'input', 'size'=> '20', 'eval'=> 'null', 'placeholder'=> '__row|uid_local|metadata|alternative', 'mode'=> 'useOrOverridePlaceholder', 'default'=> null,],], 'crop'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.crop', 'config'=> ['type'=> 'imageManipulation']], 'autoplay'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.autoplay', 'config'=> ['type'=> 'check', 'default'=> 0]],], 'types'=> ['0'=> ['showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT=> ['showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE=> ['showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO=> ['showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO=> ['showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION=> ['showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette']], 'palettes'=> ['basicoverlayPalette'=> ['showitem'=> 'title, description',], 'imageoverlayPalette'=> ['showitem'=> ' title, alternative,--linebreak--, link, description,--linebreak--, crop ',], 'videoOverlayPalette'=> ['showitem'=> ' title, description,--linebreak--, autoplay ',], 'audioOverlayPalette'=> ['showitem'=> ' title, description,--linebreak--, autoplay ',], 'filePalette'=> ['showitem'=> 'uid_local, hidden, sys_language_uid, l10n_parent', 'isHiddenPalette'=> true,],],]
 

Variable Documentation

◆ return

return[ 'ctrl'=> [ 'title'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference', 'label'=> 'uid_local', 'formattedLabel_userFunc'=> 'TYPO3\\CMS\\Core\\Resource\\Service\\UserFileInlineLabelService->getInlineLabel', 'formattedLabel_userFunc_options'=> [ 'sys_file'=> [ 'title', 'name']], 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'cruser_id'=> 'cruser_id', 'type'=> 'uid_local:type', 'hideTable'=> true, 'sortby'=> 'sorting', 'delete'=> 'deleted', 'versioningWS'=> true, 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l10n_parent', 'transOrigDiffSourceField'=> 'l10n_diffsource', 'rootLevel'=> -1, 'shadowColumnsForMovePlaceholders'=> 'tablenames, fieldname, uid_local, table_local, uid_foreign', 'enablecolumns'=> [ 'disabled'=> 'hidden'], 'typeicon_classes'=> [ 'default'=> 'mimetypes-other-other'], 'security'=> [ 'ignoreWebMountRestriction'=> true, 'ignoreRootLevelRestriction'=> true,], 'searchFields'=> 'uid_local, uid_foreign, tablenames, fieldname, title, description'], 'interface'=> [ 'showRecordFieldList'=> 'hidden, uid_local, uid_foreign, tablenames, fieldname, sorting_foreign, table_local, title, description'], 'columns'=> [ 't3ver_label'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', 'config'=> [ 'type'=> 'input', 'size'=> '30', 'max'=> '30']], 'sys_language_uid'=> [ 'exclude'=> 0, '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'=> 0, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'config'=> [ 'type'=> 'select', 'renderType'=> 'selectSingle', 'items'=> [ ['', 0]], 'foreign_table'=> 'sys_file_reference', 'foreign_table_where'=> 'AND sys_file_reference.uid=###REC_FIELD_l10n_parent### AND sys_file_reference.sys_language_uid IN(-1, 0)', 'default'=> 0]], 'l10n_diffsource'=> [ 'exclude'=> 0, 'config'=> [ 'type'=> 'passthrough', 'default'=> '']], 'hidden'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config'=> [ 'type'=> 'check', 'default'=> '0']], 'uid_local'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.uid_local', 'config'=> [ 'type'=> 'group', 'internal_type'=> 'db', 'size'=> 1, 'eval'=> 'int', 'maxitems'=> 1, 'minitems'=> 0, 'allowed'=> 'sys_file']], 'uid_foreign'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.uid_foreign', 'config'=> [ 'type'=> 'input', 'size'=> '10', 'eval'=> 'int']], 'tablenames'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.tablenames', 'config'=> [ 'type'=> 'input', 'size'=> '30', 'eval'=> 'trim']], 'fieldname'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.fieldname', 'config'=> [ 'type'=> 'input', 'size'=> '30']], 'sorting_foreign'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.sorting_foreign', 'config'=> [ 'type'=> 'input', 'size'=> '4', 'max'=> '4', 'eval'=> 'int', 'default'=> 0]], 'table_local'=> [ 'exclude'=> 0, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.table_local', 'config'=> [ 'type'=> 'input', 'size'=> '20', 'default'=> 'sys_file']], 'title'=> [ 'l10n_mode'=> 'prefixLangTitle', 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.title', 'config'=> [ 'type'=> 'input', 'size'=> '20', 'max'=> 255, 'eval'=> 'null', 'placeholder'=> '__row|uid_local|metadata|title', 'mode'=> 'useOrOverridePlaceholder', 'default'=> null,]], 'link'=> [ 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.link', 'config'=> [ 'type'=> 'input', 'size'=> '20', 'max'=> 1024, 'wizards'=> [ 'link'=> [ 'type'=> 'popup', 'title'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.link', 'icon'=> 'actions-wizard-link', 'module'=> [ 'name'=> 'wizard_link',], 'JSopenParams'=> 'width=800, height=600, status=0, menubar=0, scrollbars=1']], 'softref'=> 'typolink']], 'description'=> [ 'l10n_mode'=> 'prefixLangTitle', 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.description', 'config'=> [ 'type'=> 'text', 'cols'=> '20', 'rows'=> '5', 'eval'=> 'null', 'placeholder'=> '__row|uid_local|metadata|description', 'mode'=> 'useOrOverridePlaceholder', 'default'=> null,]], 'alternative'=> [ 'l10n_mode'=> 'prefixLangTitle', 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.alternative', 'config'=> [ 'type'=> 'input', 'size'=> '20', 'eval'=> 'null', 'placeholder'=> '__row|uid_local|metadata|alternative', 'mode'=> 'useOrOverridePlaceholder', 'default'=> null,],], 'crop'=> [ 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.crop', 'config'=> [ 'type'=> 'imageManipulation']], 'autoplay'=> [ 'exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.autoplay', 'config'=> [ 'type'=> 'check', 'default'=> 0]],], 'types'=> [ '0'=> [ 'showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT=> [ 'showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE=> [ 'showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO=> [ 'showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO=> [ 'showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette'], \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION=> [ 'showitem'=> ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.basicoverlayPalette;basicoverlayPalette, --palette--;;filePalette']], 'palettes'=> [ 'basicoverlayPalette'=> [ 'showitem'=> 'title, description',], 'imageoverlayPalette'=> [ 'showitem'=> ' title, alternative,--linebreak--, link, description,--linebreak--, crop ',], 'videoOverlayPalette'=> [ 'showitem'=> ' title, description,--linebreak--, autoplay ',], 'audioOverlayPalette'=> [ 'showitem'=> ' title, description,--linebreak--, autoplay ',], 'filePalette'=> [ 'showitem'=> 'uid_local, hidden, sys_language_uid, l10n_parent', 'isHiddenPalette'=> true,],],]

Definition at line 300 of file sys_file_reference.php.