forked from TYPO3-svn-archive/formhandler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tca.php
82 lines (79 loc) · 1.8 KB
/
tca.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
require_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('formhandler') . 'Resources/PHP/class.tx_formhandler_tcafuncs.php');
$TCA['tx_formhandler_log'] = array (
'ctrl' => $TCA['tx_formhandler_log']['ctrl'],
'interface' => array (
'showRecordFieldList' => 'crdate,ip,params,is_spam,key_hash'
),
'columns' => array (
'crdate' => array (
'exclude' => 1,
'label' => 'LLL:EXT:formhandler/Resources/Language/locallang_db.xml:tx_formhandler_log.submission_date',
'config' => array (
'type' => 'input',
'size' => '10',
'max' => '20',
'eval' => 'datetime',
'checkbox' => '0',
'default' => '0'
)
),
'ip' => array (
'label' => 'LLL:EXT:formhandler/Resources/Language/locallang_db.xml:tx_formhandler_log.ip',
'config' => array (
'type' => 'input'
)
),
'params' => array (
'exclude' => 1,
'label' => 'LLL:EXT:formhandler/Resources/Language/locallang_db.xml:tx_formhandler_log.params',
'config' => array (
'type' => 'user',
'userFunc' => 'tx_formhandler_tcafuncs->user_getParams'
)
),
'is_spam' => array (
'exclude' => 1,
'label' => 'LLL:EXT:formhandler/Resources/Language/locallang_db.xml:tx_formhandler_log.is_spam',
'config' => array (
'type' => 'check'
)
),
'uid' => array (
'label' => '',
'config' => array (
'type' => 'none'
)
),
'pid' => array (
'label' => '',
'config' => array (
'type' => 'none'
)
),
'tstamp' => array (
'label' => '',
'config' => array (
'type' => 'none'
)
),
'key_hash' => array (
'label' => '',
'config' => array (
'type' => 'none'
)
),
'unique_hash' => array (
'label' => '',
'config' => array (
'type' => 'none'
)
)
),
'types' => array (
'0' => array(
'showitem' => 'crdate,ip,params,is_spam'
)
)
);
?>