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
// Make sure that we are executed only from the inside of TYPO3
3
if
(!defined(
'TYPO3_MODE'
)) {
4
die
(
'Access denied.'
);
5
}
6
7
if
(
TYPO3_MODE
===
'BE'
) {
8
// Register wizard
9
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath
(
10
'wizard_openid'
,
11
\
TYPO3
\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) .
'wizard/'
12
);
13
14
// Add field to setup module
15
$GLOBALS
[
'TYPO3_USER_SETTINGS'
][
'columns'
][
'tx_openid_openid'
] = array(
16
'type'
=>
'user'
,
17
'table'
=>
'be_users'
,
18
'label'
=>
'LLL:EXT:openid/locallang_db.xlf:_MOD_user_setup.tx_openid_openid'
,
19
'csh'
=>
'tx_openid_openid'
,
20
'userFunc'
=>
'TYPO3\\CMS\\Openid\\OpenidModuleSetup->renderOpenID'
,
21
'access'
=>
'TYPO3\\CMS\\Openid\\OpenidModuleSetup'
22
);
23
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToUserSettings
(
'tx_openid_openid'
,
'after:password2'
);
24
}
TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addFieldsToUserSettings
static addFieldsToUserSettings($addFields, $insertionPosition='')
Definition:
ExtensionManagementUtility.php:569
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\Core\Utility\ExtensionManagementUtility\addModulePath
static addModulePath($name, $path)
Definition:
ExtensionManagementUtility.php:955
typo3
sysext
openid
ext_tables.php
Generated on Wed Aug 7 2019 09:52:17 for TYPO3 CMS by
1.8.13