TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
Blog.php
Go to the documentation of this file.
1
<?php
2
if
(!defined (
'TYPO3_MODE'
)) {
3
die
(
'Access denied.'
);
4
}
5
6
$TCA
[
'tx_blogexample_domain_model_blog'
] = array(
7
'ctrl'
=>
$TCA
[
'tx_blogexample_domain_model_blog'
][
'ctrl'
],
8
'interface'
=> array(
9
'showRecordFieldList'
=>
'title, posts, administrator'
10
),
11
'columns'
=> array(
12
'sys_language_uid'
=> Array (
13
'exclude'
=> 1,
14
'label'
=>
'LLL:EXT:lang/locallang_general.php:LGL.language'
,
15
'config'
=> Array (
16
'type'
=>
'select'
,
17
'foreign_table'
=>
'sys_language'
,
18
'foreign_table_where'
=>
'ORDER BY sys_language.title'
,
19
'items'
=> Array(
20
Array(
'LLL:EXT:lang/locallang_general.php:LGL.allLanguages'
,-1),
21
Array(
'LLL:EXT:lang/locallang_general.php:LGL.default_value'
,0)
22
)
23
)
24
),
25
'l18n_parent'
=> Array (
26
'displayCond'
=>
'FIELD:sys_language_uid:>:0'
,
27
'exclude'
=> 1,
28
'label'
=>
'LLL:EXT:lang/locallang_general.php:LGL.l18n_parent'
,
29
'config'
=> Array (
30
'type'
=>
'select'
,
31
'items'
=> Array (
32
Array(
''
, 0),
33
),
34
'foreign_table'
=>
'tx_blogexample_domain_model_blog'
,
35
'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)'
,
36
)
37
),
38
'l18n_diffsource'
=> Array(
39
'config'
=>array(
40
'type'
=>
'passthrough'
41
)
42
),
43
't3ver_label'
=> Array (
44
'displayCond'
=>
'FIELD:t3ver_label:REQ:true'
,
45
'label'
=>
'LLL:EXT:lang/locallang_general.php:LGL.versionLabel'
,
46
'config'
=> Array (
47
'type'
=>
'none'
,
48
'cols'
=> 27
49
)
50
),
51
'hidden'
=> array(
52
'exclude'
=> 1,
53
'label'
=>
'LLL:EXT:lang/locallang_general.xml:LGL.hidden'
,
54
'config'
=> array(
55
'type'
=>
'check'
56
)
57
),
58
'title'
=> array(
59
'exclude'
=> 0,
60
'label'
=>
'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.title'
,
61
'config'
=> array(
62
'type'
=>
'input'
,
63
'size'
=> 20,
64
'eval'
=>
'trim,required'
,
65
'max'
=> 256
66
)
67
),
68
'description'
=> array(
69
'exclude'
=> 1,
70
'label'
=>
'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.description'
,
71
'config'
=> array(
72
'type'
=>
'text'
,
73
'eval'
=>
'required'
,
74
'rows'
=> 30,
75
'cols'
=> 80,
76
)
77
),
78
'logo'
=> array(
79
'exclude'
=> 1,
80
'label'
=>
'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.logo'
,
81
'config'
=> array(
82
'type'
=>
'group'
,
83
'internal_type'
=>
'file'
,
84
'allowed'
=>
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'GFX'
][
'imagefile_ext'
],
85
'max_size'
=> 3000,
86
'uploadfolder'
=>
'uploads/pics'
,
87
'show_thumbs'
=> 1,
88
'size'
=> 1,
89
'maxitems'
=> 1,
90
'minitems'
=> 0
91
)
92
),
93
'posts'
=> array(
94
'exclude'
=> 1,
95
'label'
=>
'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.posts'
,
96
'config'
=> array(
97
'type'
=>
'inline'
,
98
'foreign_table'
=>
'tx_blogexample_domain_model_post'
,
99
'foreign_field'
=>
'blog'
,
100
'foreign_sortby'
=>
'sorting'
,
101
'maxitems'
=> 999999,
102
'appearance'
=> array(
103
'collapseAll'
=> 1,
104
'expandSingle'
=> 1,
105
),
106
)
107
),
108
'administrator'
=> Array (
109
'exclude'
=> 1,
110
'label'
=>
'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog.administrator'
,
111
'config'
=> Array (
112
'type'
=>
'select'
,
113
'foreign_table'
=>
'fe_users'
,
114
'foreign_table_where'
=>
"AND fe_users.tx_extbase_type='Tx_BlogExample_Domain_Model_Administrator'"
,
115
'items'
=> array(
116
array(
'--none--'
, 0),
117
),
118
'wizards'
=> Array(
119
'_PADDING'
=> 1,
120
'_VERTICAL'
=> 1,
121
'edit'
=> Array(
122
'type'
=>
'popup'
,
123
'title'
=>
'Edit'
,
124
'script'
=>
'wizard_edit.php'
,
125
'icon'
=>
'edit2.gif'
,
126
'popup_onlyOpenIfSelected'
=> 1,
127
'JSopenParams'
=>
'height=350,width=580,status=0,menubar=0,scrollbars=1'
,
128
),
129
'add'
=> Array(
130
'type'
=>
'script'
,
131
'title'
=>
'Create new'
,
132
'icon'
=>
'add.gif'
,
133
'params'
=> Array(
134
'table'
=>
'fe_users'
,
135
'pid'
=>
'###CURRENT_PID###'
,
136
'setValue'
=>
'prepend'
137
),
138
'script'
=>
'wizard_add.php'
,
139
),
140
)
141
)
142
),
143
),
144
'types'
=> array(
145
'1'
=> array(
'showitem'
=>
'sys_language_uid, hidden, title, description, logo, posts, administrator'
)
146
),
147
'palettes'
=> array(
148
'1'
=> array(
'showitem'
=>
''
)
149
)
150
);
$TCA
if(!defined('TYPO3_MODE')) $TCA['tx_blogexample_domain_model_blog']
Definition:
Blog.php:6
die
die
Definition:
index.php:6
$GLOBALS
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
Definition:
ext_localconf.php:5
typo3
sysext
extbase
Tests
Functional
Fixtures
Extensions
blog_example
Configuration
TCA
Blog.php
Generated on Wed Aug 7 2019 09:52:25 for TYPO3 CMS by
1.8.13