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
ext_tables.php
Go to the documentation of this file.
1
<?php
2
if
(!defined(
'TYPO3_MODE'
)) {
3
die
(
'Access denied.'
);
4
}
5
if
(
TYPO3_MODE
===
'BE'
) {
6
// Register report module additions
7
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SC_OPTIONS'
][
'reports'
][
'tx_reports'
][
'status'
][
'providers'
][
'typo3'
][] =
'TYPO3\\CMS\\Install\\Report\\InstallStatusReport'
;
8
9
// Only add the environment status report if not in CLI mode
10
if
(!defined(
'TYPO3_cliMode'
) || !TYPO3_cliMode) {
11
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SC_OPTIONS'
][
'reports'
][
'tx_reports'
][
'status'
][
'providers'
][
'system'
][] =
'TYPO3\\CMS\\Install\\Report\\EnvironmentStatusReport'
;
12
}
13
14
// Register backend module
15
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule
(
16
'TYPO3.CMS.'
. $_EXTKEY,
17
'system'
,
18
'install'
,
''
, array(
19
'BackendModule'
=>
'index, showEnableInstallToolButton, enableInstallTool'
,
20
),
21
array(
22
'access'
=>
'admin'
,
23
'icon'
=>
'EXT:'
. $_EXTKEY .
'/Resources/Public/Images/Icon/BackendModule.gif'
,
24
'labels'
=>
'LLL:EXT:'
. $_EXTKEY .
'/Resources/Private/Language/BackendModule.xlf'
,
25
)
26
);
27
}
TYPO3_MODE
const TYPO3_MODE
Definition:
init.php:40
$GLOBALS
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:context_help/locallang_csh_pages.xlf'][]
Definition:
ext_tables.php:15
die
die
Definition:
index.php:6
TYPO3\CMS\Extbase\Utility\ExtensionUtility\registerModule
static registerModule($extensionName, $mainModuleName='', $subModuleName='', $position='', array $controllerActions=array(), array $moduleConfiguration=array())
Definition:
ExtensionUtility.php:189
typo3
sysext
install
ext_tables.php
Generated on Wed Aug 7 2019 09:52:17 for TYPO3 CMS by
1.8.13