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
$opendocsPath =
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath
(
'opendocs'
);
7
// Register toolbar item
8
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'typo3/backend.php'
][
'additionalBackendItems'
][] = $opendocsPath .
'registerToolbarItem.php'
;
9
// Register AJAX calls
10
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler
(
'OpendocsController::renderMenu'
,
'TYPO3\\CMS\\Opendocs\\Controller\\OpendocsController->renderAjax'
);
11
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler
(
'OpendocsController::closeDocument'
,
'TYPO3\\CMS\\Opendocs\\Controller\\OpendocsController->closeDocument'
);
12
// Register update signal to update the number of open documents
13
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SC_OPTIONS'
][
't3lib/class.t3lib_befunc.php'
][
'updateSignalHook'
][
'OpendocsController::updateNumber'
] =
'TYPO3\\CMS\\Opendocs\\Controller\\OpendocsController->updateNumberOfOpenDocsHook'
;
14
}
TYPO3\CMS\Core\Utility\ExtensionManagementUtility\registerAjaxHandler
static registerAjaxHandler($ajaxId, $callbackMethod, $csrfTokenCheck=TRUE)
Definition:
ExtensionManagementUtility.php:937
TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extPath
static extPath($key, $script='')
Definition:
ExtensionManagementUtility.php:120
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
sysext
opendocs
ext_tables.php
Generated on Wed Aug 7 2019 09:52:17 for TYPO3 CMS by
1.8.13