‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Configuration\AbstractFeature Class Reference
Inheritance diagram for TYPO3\CMS\Install\Configuration\AbstractFeature:
TYPO3\CMS\Install\Configuration\Cache\CacheFeature TYPO3\CMS\Install\Configuration\Context\ContextFeature TYPO3\CMS\Install\Configuration\Image\ImageFeature TYPO3\CMS\Install\Configuration\Mail\MailFeature TYPO3\CMS\Install\Configuration\PasswordHashing\PasswordHashingFeature

Public Member Functions

 initializePresets (array $postValues)
 
array PresetInterface[] getPresetsOrderedByPriority ()
 
string getName ()
 

Protected Attributes

string $name = ''
 
array $presetRegistry = array( )
 
array $presetInstances = array( )
 
array $postValues = array( )
 

Detailed Description

Abstract feature class implements common code

only to be used within EXT:install

Definition at line 24 of file AbstractFeature.php.

Member Function Documentation

◆ getName()

string TYPO3\CMS\Install\Configuration\AbstractFeature::getName ( )

Return name of feature

Returns
‪string Name of feature

Definition at line 124 of file AbstractFeature.php.

References TYPO3\CMS\Install\Configuration\AbstractFeature\$name.

◆ getPresetsOrderedByPriority()

array PresetInterface [] TYPO3\CMS\Install\Configuration\AbstractFeature::getPresetsOrderedByPriority ( )

Return presets ordered by priority

Returns
‪array|PresetInterface[]
Exceptions
Exception

Definition at line 102 of file AbstractFeature.php.

◆ initializePresets()

TYPO3\CMS\Install\Configuration\AbstractFeature::initializePresets ( array  $postValues)

Initialize presets of feature

Parameters
array$postValues‪List of $POST values of this feature
Exceptions
Exception

Definition at line 48 of file AbstractFeature.php.

References TYPO3\CMS\Install\Configuration\AbstractFeature\$name, and TYPO3\CMS\Install\Configuration\AbstractFeature\$postValues.

Member Data Documentation

◆ $name

string TYPO3\CMS\Install\Configuration\AbstractFeature::$name = ''
protected

◆ $postValues

array TYPO3\CMS\Install\Configuration\AbstractFeature::$postValues = array( )
protected

List of $POST values

Definition at line 40 of file AbstractFeature.php.

Referenced by TYPO3\CMS\Install\Configuration\AbstractFeature\initializePresets().

◆ $presetInstances

array TYPO3\CMS\Install\Configuration\AbstractFeature::$presetInstances = array( )
protected

Holds instances of presets

Definition at line 36 of file AbstractFeature.php.

◆ $presetRegistry

array TYPO3\CMS\Install\Configuration\AbstractFeature::$presetRegistry = array( )
protected

List of preset classes

Definition at line 32 of file AbstractFeature.php.