TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
tx_blogexample_domain_model_comment.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment',
5  'label' => 'date',
6  'label_alt' => 'author',
7  'label_alt_force' => true,
8  'tstamp' => 'tstamp',
9  'crdate' => 'crdate',
10  'delete' => 'deleted',
11  'enablecolumns' => [
12  'disabled' => 'hidden'
13  ],
14  'iconfile' => 'EXT:blog_example/Resources/Public/Icons/icon_tx_blogexample_domain_model_comment.gif'
15  ],
16  'interface' => [
17  'showRecordFieldList' => 'hidden, date, author, email, content'
18  ],
19  'columns' => [
20  'hidden' => [
21  'exclude' => true,
22  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.hidden',
23  'config' => [
24  'type' => 'check'
25  ]
26  ],
27  'date' => [
28  'exclude' => true,
29  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.date',
30  'config' => [
31  'type' => 'input',
32  'dbType' => 'datetime',
33  'size' => 12,
34  'eval' => 'datetime, required',
35  'default' => time()
36  ]
37  ],
38  'author' => [
39  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.author',
40  'config' => [
41  'type' => 'input',
42  'size' => 20,
43  'eval' => 'trim, required',
44  'max' => 256
45  ]
46  ],
47  'email' => [
48  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.email',
49  'config' => [
50  'type' => 'input',
51  'size' => 20,
52  'eval' => 'trim, required',
53  'max' => 256
54  ]
55  ],
56  'content' => [
57  'exclude' => true,
58  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.content',
59  'config' => [
60  'type' => 'text',
61  'rows' => 30,
62  'cols' => 80
63  ]
64  ],
65  'post' => [
66  'config' => [
67  'type' => 'passthrough',
68  ]
69  ],
70  ],
71  'types' => [
72  '1' => ['showitem' => 'hidden, date, author, email, content']
73  ],
74  'palettes' => [
75  '1' => ['showitem' => '']
76  ]
77 ];