‪TYPO3CMS  10.4
sys_category.php File Reference

Go to the source code of this file.

Variables

 return ['ctrl'=>['title'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category', 'descriptionColumn'=> 'description', 'label'=> 'title', 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'cruser_id'=> 'cruser_id', 'delete'=> 'deleted', 'sortby'=> 'sorting', 'default_sortby'=> 'title', 'versioningWS'=> true, 'rootLevel'=> -1, 'origUid'=> 't3_origuid', 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l10n_parent', 'transOrigDiffSourceField'=> 'l10n_diffsource', 'searchFields'=> 'title, description', 'enablecolumns'=>['disabled'=> 'hidden', 'starttime'=> 'starttime', 'endtime'=> 'endtime'], 'typeicon_classes'=>['default'=> 'mimetypes-x-sys_category'], 'security'=>['ignoreRootLevelRestriction'=> true,]], 'types'=>['1'=>['showitem'=> ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, title, parent, --div--;LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.tabs.items, items, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language, --palette--;;language, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access, hidden,--palette--;;timeRestriction, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes, description, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended, ',],], 'palettes'=>['timeRestriction'=>['showitem'=> 'starttime, endtime'], 'language'=>['showitem'=> 'sys_language_uid, l10n_parent'],], 'columns'=>['sys_language_uid'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language', 'config'=>['type'=> 'select', 'renderType'=> 'selectSingle', 'special'=> 'languages', 'items'=>[['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1, 'flags-multiple'],], 'default'=> 0,]], 'l10n_parent'=>['displayCond'=> 'FIELD:sys_language_uid:>:0', 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent', 'config'=>['type'=> 'select', 'renderType'=> 'selectSingle', 'items'=>[['', 0]], 'foreign_table'=> 'sys_category', 'foreign_table_where'=> 'AND sys_category.pid=###CURRENT_PID### AND sys_category.sys_language_uid IN(-1, 0)', 'default'=> 0]], 'l10n_diffsource'=>['config'=>['type'=> 'passthrough', 'default'=> '']], 'hidden'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled', 'config'=>['type'=> 'check', 'renderType'=> 'checkboxToggle', 'items'=>[[0=> '', 1=> '', 'invertStateDisplay'=> true]],]], 'starttime'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime', 'config'=>['type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0, 'behaviour'=>['allowLanguageSynchronization'=> true,]]], 'endtime'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime', 'config'=>['type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0, 'range'=>['upper'=> mktime(0, 0, 0, 1, 1, 2038),], 'behaviour'=>['allowLanguageSynchronization'=> true,]]], 'title'=>['label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.title', 'config'=>['type'=> 'input', 'width'=> 200, 'eval'=> 'trim, required']], 'description'=>['label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.description', 'config'=>['type'=> 'text', 'default'=> '',]], 'parent'=>['label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.parent', '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)', 'treeConfig'=>['parentField'=> 'parent', 'appearance'=>['expandAll'=> true, 'showHeader'=> true, 'maxLevels'=> 99,],], 'default'=> 0]], 'items'=>['label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.items', 'config'=>['type'=> 'group', 'internal_type'=> 'db', 'allowed'=> ' *', 'MM'=> 'sys_category_record_mm', 'MM_oppositeUsage'=>[], 'size'=> 10, 'fieldWizard'=>['recordsOverview'=>['disabled'=> true,],],],],],]
 

Variable Documentation

◆ return

return[ 'ctrl'=>[ 'title'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category', 'descriptionColumn'=> 'description', 'label'=> 'title', 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'cruser_id'=> 'cruser_id', 'delete'=> 'deleted', 'sortby'=> 'sorting', 'default_sortby'=> 'title', 'versioningWS'=> true, 'rootLevel'=> -1, 'origUid'=> 't3_origuid', 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l10n_parent', 'transOrigDiffSourceField'=> 'l10n_diffsource', 'searchFields'=> 'title, description', 'enablecolumns'=>[ 'disabled'=> 'hidden', 'starttime'=> 'starttime', 'endtime'=> 'endtime'], 'typeicon_classes'=>[ 'default'=> 'mimetypes-x-sys_category'], 'security'=>[ 'ignoreRootLevelRestriction'=> true,]], 'types'=>[ '1'=>[ 'showitem'=> ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, title, parent, --div--;LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.tabs.items, items, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language, --palette--;;language, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access, hidden,--palette--;;timeRestriction, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes, description, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended, ',],], 'palettes'=>[ 'timeRestriction'=>[ 'showitem'=> 'starttime, endtime'], 'language'=>[ 'showitem'=> 'sys_language_uid, l10n_parent'],], 'columns'=>[ 'sys_language_uid'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language', 'config'=>[ 'type'=> 'select', 'renderType'=> 'selectSingle', 'special'=> 'languages', 'items'=>[[ 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1, 'flags-multiple'],], 'default'=> 0,]], 'l10n_parent'=>[ 'displayCond'=> 'FIELD:sys_language_uid:>:0', 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent', 'config'=>[ 'type'=> 'select', 'renderType'=> 'selectSingle', 'items'=>[['', 0]], 'foreign_table'=> 'sys_category', 'foreign_table_where'=> 'AND sys_category.pid=###CURRENT_PID### AND sys_category.sys_language_uid IN(-1, 0)', 'default'=> 0]], 'l10n_diffsource'=>[ 'config'=>[ 'type'=> 'passthrough', 'default'=> '']], 'hidden'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled', 'config'=>[ 'type'=> 'check', 'renderType'=> 'checkboxToggle', 'items'=>[[ 0=> '', 1=> '', 'invertStateDisplay'=> true]],]], 'starttime'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime', 'config'=>[ 'type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0, 'behaviour'=>[ 'allowLanguageSynchronization'=> true,]]], 'endtime'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime', 'config'=>[ 'type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0, 'range'=>[ 'upper'=> mktime(0, 0, 0, 1, 1, 2038),], 'behaviour'=>[ 'allowLanguageSynchronization'=> true,]]], 'title'=>[ 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.title', 'config'=>[ 'type'=> 'input', 'width'=> 200, 'eval'=> 'trim, required']], 'description'=>[ 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.description', 'config'=>[ 'type'=> 'text', 'default'=> '',]], 'parent'=>[ 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.parent', '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)', 'treeConfig'=>[ 'parentField'=> 'parent', 'appearance'=>[ 'expandAll'=> true, 'showHeader'=> true, 'maxLevels'=> 99,],], 'default'=> 0]], 'items'=>[ 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_category.items', 'config'=>[ 'type'=> 'group', 'internal_type'=> 'db', 'allowed'=> ' *', 'MM'=> 'sys_category_record_mm', 'MM_oppositeUsage'=>[], 'size'=> 10, 'fieldWizard'=>[ 'recordsOverview'=>[ 'disabled'=> true,],],],],],]

Definition at line 3 of file sys_category.php.