TYPO3 CMS  TYPO3_8-7
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'], 'interface'=> ['showRecordFieldList'=> 'title, posts, administrator'], 'columns'=> ['sys_language_uid'=> ['exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/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/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1], ['LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0]], 'default'=> 0]], 'l18n_parent'=> ['displayCond'=> 'FIELD:sys_language_uid:>:0', 'exclude'=> true, 'label'=> 'LLL:EXT:lang/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'=> '']], 't3ver_label'=> ['displayCond'=> 'FIELD:t3ver_label:REQ:true', 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel', 'config'=> ['type'=> 'none', 'cols'=> 27]], 'hidden'=> ['exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hidden', 'config'=> ['type'=> 'check']], 'fe_group'=> ['exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.fe_group', 'config'=> ['type'=> 'select', 'renderType'=> 'selectMultipleSideBySide', 'size'=> 5, 'maxitems'=> 20, 'items'=> [['LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login', -1,], ['LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.any_login', -2,], ['LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.usergroups', '--div--',],], 'exclusiveKeys'=> '-1,-2', 'foreign_table'=> 'fe_groups', 'foreign_table_where'=> 'ORDER BY fe_groups.title',],], '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_blog.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'=> ['type'=> 'group', 'internal_type'=> 'file', 'allowed'=> $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 'max_size'=> 3000, 'uploadfolder'=> 'uploads/pics', 'size'=> 1, 'maxitems'=> 1, 'minitems'=> 0]], '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'], 'interface'=> [ 'showRecordFieldList'=> 'title, posts, administrator'], 'columns'=> [ 'sys_language_uid'=> [ 'exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/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/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1], [ 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0]], 'default'=> 0]], 'l18n_parent'=> [ 'displayCond'=> 'FIELD:sys_language_uid:>:0', 'exclude'=> true, 'label'=> 'LLL:EXT:lang/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'=> '']], 't3ver_label'=> [ 'displayCond'=> 'FIELD:t3ver_label:REQ:true', 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel', 'config'=> [ 'type'=> 'none', 'cols'=> 27]], 'hidden'=> [ 'exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hidden', 'config'=> [ 'type'=> 'check']], 'fe_group'=> [ 'exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.fe_group', 'config'=> [ 'type'=> 'select', 'renderType'=> 'selectMultipleSideBySide', 'size'=> 5, 'maxitems'=> 20, 'items'=> [ [ 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login', -1,], [ 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.any_login', -2,], [ 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.usergroups', '--div--',],], 'exclusiveKeys'=> '-1,-2', 'foreign_table'=> 'fe_groups', 'foreign_table_where'=> 'ORDER BY fe_groups.title',],], '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_blog.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'=> [ 'type'=> 'group', 'internal_type'=> 'file', 'allowed'=> $GLOBALS[ 'TYPO3_CONF_VARS'][ 'GFX'][ 'imagefile_ext'], 'max_size'=> 3000, 'uploadfolder'=> 'uploads/pics', 'size'=> 1, 'maxitems'=> 1, 'minitems'=> 0]], '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 188 of file tx_blogexample_domain_model_blog.php.