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
ContextService.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Install\Service
;
3
19
class
ContextService
{
20
24
private
$backendContext
= FALSE;
25
29
public
function
__construct
() {
30
$formValues =
\TYPO3\CMS\Core\Utility\GeneralUtility::_GP
(
'install'
);
31
if
(isset($formValues[
'context'
])) {
32
$this->backendContext = ($formValues[
'context'
] ===
'backend'
);
33
}
34
}
35
41
public
function
isBackendContext
() {
42
return
$this->backendContext
;
43
}
44
50
public
function
isStandaloneContext
() {
51
return
!
$this->backendContext
;
52
}
53
59
public
function
getContextString
() {
60
return
( $this->
isBackendContext
() ?
'backend'
:
'standalone'
);
61
}
62
}
TYPO3\CMS\Install\Service\ContextService\isBackendContext
isBackendContext()
Definition:
ContextService.php:41
TYPO3\CMS\Install\Service\ContextService\isStandaloneContext
isStandaloneContext()
Definition:
ContextService.php:50
TYPO3\CMS\Install\Service\ContextService\__construct
__construct()
Definition:
ContextService.php:29
TYPO3\CMS\Install\Service\ContextService\getContextString
getContextString()
Definition:
ContextService.php:59
TYPO3\CMS\Install\Service\ContextService\$backendContext
$backendContext
Definition:
ContextService.php:24
TYPO3\CMS\Core\Utility\GeneralUtility\_GP
static _GP($var)
Definition:
GeneralUtility.php:128
TYPO3\CMS\Install\Service
Definition:
CachingFrameworkDatabaseSchemaService.php:2
TYPO3\CMS\Install\Service\ContextService
Definition:
ContextService.php:19
typo3
sysext
install
Classes
Service
ContextService.php
Generated on Wed Aug 7 2019 09:52:29 for TYPO3 CMS by
1.8.13