‪TYPO3CMS  10.4
tx_blogexample_domain_model_blog.php File Reference

Go to the source code of this file.

Variables

 return ['ctrl'=>['title'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog', 'label'=> 'title', 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'versioningWS'=> true, 'origUid'=> 't3_origuid', 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l18n_parent', 'transOrigDiffSourceField'=> 'l18n_diffsource', 'delete'=> 'deleted', 'enablecolumns'=>['disabled'=> 'hidden', 'fe_group'=> 'fe_group',], 'iconfile'=> 'EXT:blog_example/Resources/Public/Icons/icon_tx_blogexample_domain_model_blog.gif'], '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]], 'l18n_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'=> 'tx_blogexample_domain_model_blog', 'foreign_table_where'=> 'AND tx_blogexample_domain_model_blog.uid=###REC_FIELD_l18n_parent### AND tx_blogexample_domain_model_blog.sys_language_uid IN(-1, 0)',]], 'l18n_diffsource'=>['config'=>['type'=> 'passthrough', 'default'=> '']], 'hidden'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden', 'config'=>['type'=> 'check']], 'fe_group'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.fe_group', 'config'=>['type'=> 'select', 'renderType'=> 'selectMultipleSideBySide', 'size'=> 5, 'maxitems'=> 20, 'items'=>[['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login', -1,], ['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login', -2,], ['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups', '--div--',],], 'exclusiveKeys'=> '-1,-2', 'foreign_table'=> 'fe_groups',],], 'title'=>['label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.title', 'config'=>['type'=> 'input', 'size'=> 20, 'eval'=> 'trim, required', 'max'=> 256]], 'subtitle'=>['label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_post.subtitle', 'config'=>['type'=> 'input', 'size'=> 20, 'eval'=> 'trim', 'max'=> 256]], 'description'=>['exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.description', 'config'=>['type'=> 'text', 'eval'=> 'required', 'rows'=> 30, 'cols'=> 80,]], 'logo'=>['exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.logo', 'config'=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('logo')], 'posts'=>['exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.posts', 'config'=>['type'=> 'inline', 'foreign_table'=> 'tx_blogexample_domain_model_post', 'foreign_field'=> 'blog', 'foreign_sortby'=> 'sorting', 'appearance'=>['collapseAll'=> 1, 'expandSingle'=> 1,],]], 'administrator'=>['exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.administrator', 'config'=>['type'=> 'select', 'renderType'=> 'selectSingle', 'foreign_table'=> 'fe_users', 'foreign_table_where'=> "AND fe_users.tx_extbase_type='ExtbaseTeam\\\\BlogExample\\\\Domain\\\\Model\\\\Administrator'", 'items'=>[['--none--', 0],], 'fieldControl'=>['editPopup'=>['disabled'=> false,], 'addRecord'=>['disabled'=> false, 'options'=>['setValue'=> 'prepend',],],],],],], 'types'=>['1'=>['showitem'=> 'sys_language_uid, hidden, fe_group, title, description, logo, posts, administrator']], 'palettes'=>['1'=>['showitem'=> '']]]
 

Variable Documentation

◆ return

return[ 'ctrl'=>[ 'title'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog', 'label'=> 'title', 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'versioningWS'=> true, 'origUid'=> 't3_origuid', 'languageField'=> 'sys_language_uid', 'transOrigPointerField'=> 'l18n_parent', 'transOrigDiffSourceField'=> 'l18n_diffsource', 'delete'=> 'deleted', 'enablecolumns'=>[ 'disabled'=> 'hidden', 'fe_group'=> 'fe_group',], 'iconfile'=> 'EXT:blog_example/Resources/Public/Icons/icon_tx_blogexample_domain_model_blog.gif'], '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]], 'l18n_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'=> 'tx_blogexample_domain_model_blog', 'foreign_table_where'=> 'AND tx_blogexample_domain_model_blog.uid=###REC_FIELD_l18n_parent### AND tx_blogexample_domain_model_blog.sys_language_uid IN(-1, 0)',]], 'l18n_diffsource'=>[ 'config'=>[ 'type'=> 'passthrough', 'default'=> '']], 'hidden'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden', 'config'=>[ 'type'=> 'check']], 'fe_group'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.fe_group', 'config'=>[ 'type'=> 'select', 'renderType'=> 'selectMultipleSideBySide', 'size'=> 5, 'maxitems'=> 20, 'items'=>[[ 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login', -1,],[ 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.any_login', -2,],[ 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.usergroups', '--div--',],], 'exclusiveKeys'=> '-1,-2', 'foreign_table'=> 'fe_groups',],], 'title'=>[ 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.title', 'config'=>[ 'type'=> 'input', 'size'=> 20, 'eval'=> 'trim, required', 'max'=> 256]], 'subtitle'=>[ 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_post.subtitle', 'config'=>[ 'type'=> 'input', 'size'=> 20, 'eval'=> 'trim', 'max'=> 256]], 'description'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.description', 'config'=>[ 'type'=> 'text', 'eval'=> 'required', 'rows'=> 30, 'cols'=> 80,]], 'logo'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.logo', 'config'=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig( 'logo')], 'posts'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.posts', 'config'=>[ 'type'=> 'inline', 'foreign_table'=> 'tx_blogexample_domain_model_post', 'foreign_field'=> 'blog', 'foreign_sortby'=> 'sorting', 'appearance'=>[ 'collapseAll'=> 1, 'expandSingle'=> 1,],]], 'administrator'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.administrator', 'config'=>[ 'type'=> 'select', 'renderType'=> 'selectSingle', 'foreign_table'=> 'fe_users', 'foreign_table_where'=> "AND fe_users.tx_extbase_type='ExtbaseTeam\\\\BlogExample\\\\Domain\\\\Model\\\\Administrator'", 'items'=>[['--none--', 0],], 'fieldControl'=>[ 'editPopup'=>[ 'disabled'=> false,], 'addRecord'=>[ 'disabled'=> false, 'options'=>[ 'setValue'=> 'prepend',],],],],],], 'types'=>[ '1'=>[ 'showitem'=> 'sys_language_uid, hidden, fe_group, title, description, logo, posts, administrator']], 'palettes'=>[ '1'=>[ 'showitem'=> '']]]

Definition at line 3 of file tx_blogexample_domain_model_blog.php.