This repository has been archived by the owner on May 7, 2022. It is now read-only.
forked from fbrnc/scheduler_timeline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathext_tables.php
59 lines (51 loc) · 1.48 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
53
54
55
56
57
58
59
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
/**
* Registers a Backend Module
*/
Tx_Extbase_Utility_Extension::registerModule(
$_EXTKEY,
'tools', // Make module a submodule of 'web'
'schedulertimeline', // Submodule key
'after:txschedulerM1', // Position
array(
// An array holding the controller-action-combinations that are accessible
'Timeline' => 'timeline'
),
array(
'access' => 'user,group',
'icon' => 'EXT:'.$_EXTKEY.'/Resources/Public/Images/moduleicon.gif',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml',
// 'navigationComponentId' => 'typo3-pagetree',
)
);
}
/**
* Table "tx_schedulertimeline_domain_model_log":
*/
$TCA['tx_schedulertimeline_domain_model_log'] = array(
'ctrl' => array(
'label' => 'uid',
'tstamp' => 'tstamp',
'title' => 'Scheduler Timeline Log',
'adminOnly' => 1,
'rootLevel' => 1,
'hideTable' => 1,
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
)
);
/**
* Table "tx_scheduler_task":
*/
$TCA['tx_scheduler_task'] = array(
'ctrl' => array(
'label' => 'classname',
'title' => 'Scheduler Task',
'adminOnly' => 1,
'rootLevel' => 1,
'hideTable' => 1,
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
)
);
?>