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