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
DevelopmentPreset.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Install\Configuration\Context
;
3
17
use
TYPO3\CMS\Install\Configuration
;
18
22
class
DevelopmentPreset
extends
Configuration\AbstractPreset
{
23
27
protected
$name
=
'Development'
;
28
32
protected
$priority
= 50;
33
37
protected
$configurationValues
= array(
38
'BE/debug'
=> TRUE,
39
'FE/debug'
=> TRUE,
40
'SYS/devIPmask'
=>
'*'
,
41
'SYS/displayErrors'
=> 1,
42
'SYS/enableDeprecationLog'
=>
'file'
,
43
'SYS/sqlDebug'
=> 1,
44
'SYS/systemLogLevel'
=> 0,
45
// E_WARNING | E_RECOVERABLE_ERROR | E_DEPRECATED | E_USER_DEPRECATED
46
'SYS/exceptionalErrors'
=> 28674,
47
'SYS/clearCacheSystem'
=> TRUE,
48
);
49
55
public
function
isAvailable
() {
56
return
TRUE;
57
}
58
65
public
function
getPriority
() {
66
$context =
\TYPO3\CMS\Core\Utility\GeneralUtility::getApplicationContext
();
67
$priority
=
$this->priority
;
68
if
($context->isDevelopment()) {
69
$priority
=
$priority
+ 20;
70
}
71
return
$priority
;
72
}
73
}
TYPO3\CMS\Install\Configuration\Context\DevelopmentPreset\$priority
$priority
Definition:
DevelopmentPreset.php:32
TYPO3\CMS\Install\Configuration\Context\DevelopmentPreset\getPriority
getPriority()
Definition:
DevelopmentPreset.php:65
TYPO3\CMS\Install\Configuration\Context
Definition:
ContextFeature.php:2
TYPO3\CMS\Install\Configuration\Context\DevelopmentPreset\$configurationValues
$configurationValues
Definition:
DevelopmentPreset.php:37
TYPO3\CMS\Install\Configuration
Definition:
AbstractCustomPreset.php:2
TYPO3\CMS\Install\Configuration\Context\DevelopmentPreset\isAvailable
isAvailable()
Definition:
DevelopmentPreset.php:55
TYPO3\CMS\Install\Configuration\Context\DevelopmentPreset
Definition:
DevelopmentPreset.php:22
TYPO3\CMS\Core\Utility\GeneralUtility\getApplicationContext
static getApplicationContext()
Definition:
GeneralUtility.php:5415
TYPO3\CMS\Install\Configuration\Context\DevelopmentPreset\$name
$name
Definition:
DevelopmentPreset.php:27
TYPO3\CMS\Install\Configuration\AbstractPreset
Definition:
AbstractPreset.php:22
typo3
sysext
install
Classes
Configuration
Context
DevelopmentPreset.php
Generated on Wed Aug 7 2019 09:52:29 for TYPO3 CMS by
1.8.13