FileCachePreset extends AbstractPreset
Abstract preset class implements common preset code
Table of Contents
Properties
- $configurationManager : ConfigurationManager
- $configurationValues : array<string|int, mixed>
- $name : string
- $postValues : array<string|int, mixed>
- $priority : int
- $readonlyConfigurationValues : array<string|int, mixed>
Methods
- __construct() : mixed
- getConfigurationValues() : array<string|int, mixed>
- Get configuration values to activate prefix
- getIsActive() : bool
- Wrapper for isActive, used in fluid
- getIsAvailable() : bool
- Wrapper for isAvailable, used in fluid
- getName() : string
- Get name of preset
- getPriority() : int
- Get priority of preset
- isActive() : bool
- Check is preset is currently active on the system
- isAvailable() : bool
- Database is always enabled
- setPostValues() : mixed
- Set POST values
Properties
$configurationManager
protected
ConfigurationManager
$configurationManager
$configurationValues
protected
array<string|int, mixed>
$configurationValues
= ['SYS/caching/cacheConfigurations/hash/backend' => \TYPO3\CMS\Core\Cache\Backend\FileBackend::class, 'SYS/caching/cacheConfigurations/pages/backend' => \TYPO3\CMS\Core\Cache\Backend\FileBackend::class, 'SYS/caching/cacheConfigurations/pages/options/compression' => '__UNSET', 'SYS/caching/cacheConfigurations/imagesizes/backend' => \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend::class, 'SYS/caching/cacheConfigurations/imagesizes/options/compression' => '__UNSET', 'SYS/caching/cacheConfigurations/rootline/backend' => \TYPO3\CMS\Core\Cache\Backend\FileBackend::class, 'SYS/caching/cacheConfigurations/rootline/options/compression' => '__UNSET']
Configuration values handled by this preset
$name
protected
string
$name
= 'File'
Name of preset
$postValues
protected
array<string|int, mixed>
$postValues
= []
List of $POST values
$priority
protected
int
$priority
= 50
Priority of preset
$readonlyConfigurationValues
protected
array<string|int, mixed>
$readonlyConfigurationValues
= []
Configuration values that are visible but not editable via presets GUI
Methods
__construct()
public
__construct([ConfigurationManager|null $configurationManager = null ]) : mixed
Parameters
- $configurationManager : ConfigurationManager|null = null
getConfigurationValues()
Get configuration values to activate prefix
public
getConfigurationValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —Configuration values needed to activate prefix
getIsActive()
Wrapper for isActive, used in fluid
public
getIsActive() : bool
Return values
bool —TRUE if preset is active
getIsAvailable()
Wrapper for isAvailable, used in fluid
public
getIsAvailable() : bool
Return values
bool —TRUE if preset is available
getName()
Get name of preset
public
getName() : string
Return values
string —Name
getPriority()
Get priority of preset
public
getPriority() : int
Return values
int —Priority, usually between 0 and 100
isActive()
Check is preset is currently active on the system
public
isActive() : bool
Return values
bool —TRUE if preset is active
isAvailable()
Database is always enabled
public
isAvailable() : bool
Return values
bool —TRUE if sendmail path if set
setPostValues()
Set POST values
public
setPostValues(array<string|int, mixed> $postValues) : mixed
Parameters
- $postValues : array<string|int, mixed>
-
Post values of feature