‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Configuration\Context\LivePreset Class Reference
Inheritance diagram for TYPO3\CMS\Install\Configuration\Context\LivePreset:
TYPO3\CMS\Install\Configuration\AbstractPreset TYPO3\CMS\Install\Configuration\PresetInterface

Public Member Functions

bool isAvailable ()
 
int getPriority ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Install\Configuration\AbstractPreset
 __construct (ConfigurationManager $configurationManager=null)
 
mixed setPostValues (array $postValues)
 
bool getIsAvailable ()
 
bool isActive ()
 
bool getIsActive ()
 
string getName ()
 
array getConfigurationValues ()
 

Protected Attributes

string $name = 'Live'
 
int $priority = 50
 
array $configurationValues
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Install\Configuration\AbstractPreset
TYPO3 CMS Core Configuration ConfigurationManager $configurationManager
 
string $name = ''
 
int $priority = 50
 
array $configurationValues = array( )
 
array $postValues = array( )
 

Detailed Description

Live preset

only to be used within EXT:install

Definition at line 27 of file LivePreset.php.

Member Function Documentation

◆ getPriority()

int TYPO3\CMS\Install\Configuration\Context\LivePreset::getPriority ( )

If context is set to production, priority of this preset is raised.

Returns
‪int Priority of preset

Reimplemented from TYPO3\CMS\Install\Configuration\AbstractPreset.

Definition at line 66 of file LivePreset.php.

References TYPO3\CMS\Install\Configuration\Context\LivePreset\$priority, and TYPO3\CMS\Core\Core\Environment\getContext().

◆ isAvailable()

bool TYPO3\CMS\Install\Configuration\Context\LivePreset::isAvailable ( )

Production preset is always available

Returns
‪bool Always TRUE

Implements TYPO3\CMS\Install\Configuration\PresetInterface.

Definition at line 55 of file LivePreset.php.

Member Data Documentation

◆ $configurationValues

array TYPO3\CMS\Install\Configuration\Context\LivePreset::$configurationValues
protected
Initial value:
= array(
'BE/debug' => false,
'FE/debug' => false,
'SYS/devIPmask' => '',
'SYS/displayErrors' => 0,
'LOG/TYPO3/CMS/deprecations/writerConfiguration/' . LogLevel::NOTICE . '/' . FileWriter::class . '/disabled' => true,
'SYS/exceptionalErrors' => 4096,
)

Configuration values handled by this preset

Definition at line 39 of file LivePreset.php.

◆ $name

string TYPO3\CMS\Install\Configuration\Context\LivePreset::$name = 'Live'
protected

Name of preset

Definition at line 31 of file LivePreset.php.

◆ $priority

int TYPO3\CMS\Install\Configuration\Context\LivePreset::$priority = 50
protected

Priority of preset

Definition at line 35 of file LivePreset.php.

Referenced by TYPO3\CMS\Install\Configuration\Context\LivePreset\getPriority().