-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathext_tables.php
52 lines (48 loc) · 1.5 KB
/
ext_tables.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
<?php
defined('TYPO3_MODE') or die('Access denied.');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'One is Enough Library');
$GLOBALS['TCA']['tx_oelib_test'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:oelib/Resources/Private/Language/locallang_db.xml:tx_oelib_test',
'readOnly' => 1,
'adminOnly' => 1,
'rootLevel' => 1,
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'versioningWS' => FALSE,
'default_sortby' => 'ORDER BY uid',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Test.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/Test.gif',
),
);
$GLOBALS['TCA']['tx_oelib_testchild'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:oelib/Resources/Private/Language/locallang_db.xml:tx_oelib_test',
'readOnly' => 1,
'adminOnly' => 1,
'rootLevel' => 1,
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'versioningWS' => FALSE,
'default_sortby' => 'ORDER BY uid',
'delete' => 'deleted',
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/TestChild.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/Test.gif',
),
);
t3lib_extMgm::addTCAcolumns(
'fe_users',
array(
'tx_oelib_is_dummy_record' => array(),
)
);