AbstractFeature
AbstractYes
Abstract feature class implements common code
only to be used within EXT:install
Table of Contents
Properties
- $name : string
- $postValues : array
- $presetInstances : array
- $presetRegistry : array
Methods
- getName() : string
- Return name of feature
- getPresetsOrderedByPriority() : array|PresetInterface[]
- Return presets ordered by priority
- initializePresets() : mixed
- Initialize presets of feature
Properties
$name
protected
string
$name
= ''
Name of feature
$postValues
protected
array
$postValues
= []
List of $POST values
$presetInstances
protected
array
$presetInstances
= []
Holds instances of presets
$presetRegistry
protected
array
$presetRegistry
= []
List of preset classes
Methods
getName()
Return name of feature
public
getName() : string
Return values
string —Name of feature
getPresetsOrderedByPriority()
Return presets ordered by priority
public
getPresetsOrderedByPriority() : array|PresetInterface[]
Tags
Return values
array|PresetInterface[]initializePresets()
Initialize presets of feature
public
initializePresets(array $postValues) : mixed
Parameters
- $postValues : array
-
List of $POST values of this feature