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
6
if
(
TYPO3_MODE
===
'BE'
) {
7
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule
(
8
'TYPO3.CMS.'
. $_EXTKEY,
9
'tools'
,
10
'extensionmanager'
,
''
, array(
11
'List'
=>
'index,unresolvedDependencies,ter,showAllVersions,distributions'
,
12
'Action'
=>
'toggleExtensionInstallationState,installExtensionWithoutSystemDependencyCheck,removeExtension,downloadExtensionZip,downloadExtensionData'
,
13
'Configuration'
=>
'showConfigurationForm,save,saveAndClose'
,
14
'Download'
=>
'checkDependencies,installFromTer,installExtensionWithoutSystemDependencyCheck,installDistribution,updateExtension,updateCommentForUpdatableVersions'
,
15
'UpdateScript'
=>
'show'
,
16
'UpdateFromTer'
=>
'updateExtensionListFromTer'
,
17
'UploadExtensionFile'
=>
'form,extract'
,
18
'Distribution'
=>
'show'
19
),
20
array(
21
'access'
=>
'admin'
,
22
'icon'
=>
'EXT:'
. $_EXTKEY .
'/Resources/Public/Icons/module.png'
,
23
'labels'
=>
'LLL:EXT:'
. $_EXTKEY .
'/Resources/Private/Language/locallang_mod.xlf'
,
24
)
25
);
26
27
// Register extension status report system
28
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SC_OPTIONS'
][
'reports'
][
'tx_reports'
][
'status'
][
'providers'
][
'Extension Manager'
][] =
29
'TYPO3\\CMS\\Extensionmanager\\Report\\ExtensionStatus'
;
30
}
31
32
// Register specific icon for update script button
33
\TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons
(
34
array(
35
'update-script'
=> \
TYPO3
\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) .
'Resources/Public/Images/Icons/ExtensionUpdateScript.png'
36
),
37
$_EXTKEY
38
);
TYPO3\CMS\Backend\Sprite\SpriteManager\addSingleIcons
static addSingleIcons(array $icons, $extKey='')
Definition:
SpriteManager.php:149
TYPO3
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
extensionmanager
ext_tables.php
Generated on Wed Aug 7 2019 09:52:17 for TYPO3 CMS by
1.8.13