Component
in package
Represents a set of property/value pairs. A Component is retrieved from a MatchCandidate during the token Trie walk. The component's weight is used to determine whether a component should override an already found component.
Tags
Table of Contents
Properties
- $cT : mixed
- $eV : mixed
- $id : mixed
- $iF : mixed
- $p : mixed
- $pDP : mixed
- $ps : mixed
- $pTDV : mixed
- $sC : mixed
- $sV : mixed
- $vSC : mixed
- $w : mixed
Methods
- __construct() : mixed
- equals() : mixed
- getComponentType() : mixed
- getEndVersion() : mixed
- getId() : mixed
- getInheritsFrom() : mixed
- getParent() : mixed
- getProperties() : mixed
- getPropertiesToDynamicValues() : mixed
- getSpecificChildInstance() : Component
- Check if there is a specific version of a generic component as a child of this parent component.
- getStartVersion() : mixed
- getStockChild() : mixed
- getVersionSpecificChildren() : mixed
- getWeight() : mixed
- hasDynamicPropertyRules() : mixed
- hasEndVersion() : mixed
- hasInheritsFrom() : mixed
- hasParent() : mixed
- hasProperties() : mixed
- hasStockChild() : mixed
- hasVersionSpecificChildren() : mixed
- precedesDynamicProperty() : mixed
- setInheritsFrom() : mixed
- setParent() : mixed
- setPropertiesToDynamicValues() : mixed
- setStockChild() : mixed
Properties
$cT
private
mixed
$cT
$eV
private
mixed
$eV
$id
private
mixed
$id
$iF
private
mixed
$iF
$p
private
mixed
$p
$pDP
private
mixed
$pDP
$ps
private
mixed
$ps
$pTDV
private
mixed
$pTDV
$sC
private
mixed
$sC
$sV
private
mixed
$sV
$vSC
private
mixed
$vSC
$w
private
mixed
$w
Methods
__construct()
public
__construct(mixed $id, mixed $weight, mixed $componentType, mixed $properties, mixed $propertyIdsToDynamicValues, mixed $precedesDynamicProperty, mixed $versionSpecificChildren, mixed $startVersion, mixed $endVersion) : mixed
Parameters
- $id : mixed
- $weight : mixed
- $componentType : mixed
- $properties : mixed
- $propertyIdsToDynamicValues : mixed
- $precedesDynamicProperty : mixed
- $versionSpecificChildren : mixed
- $startVersion : mixed
- $endVersion : mixed
equals()
public
equals(mixed $obj) : mixed
Parameters
- $obj : mixed
getComponentType()
public
getComponentType() : mixed
getEndVersion()
public
getEndVersion() : mixed
getId()
public
getId() : mixed
getInheritsFrom()
public
getInheritsFrom() : mixed
getParent()
public
getParent() : mixed
getProperties()
public
getProperties() : mixed
getPropertiesToDynamicValues()
public
getPropertiesToDynamicValues() : mixed
getSpecificChildInstance()
Check if there is a specific version of a generic component as a child of this parent component.
public
getSpecificChildInstance(Component $genericComponent) : Component
Parameters
- $genericComponent : Component
Return values
ComponentgetStartVersion()
public
getStartVersion() : mixed
getStockChild()
public
getStockChild() : mixed
getVersionSpecificChildren()
public
getVersionSpecificChildren() : mixed
getWeight()
public
getWeight() : mixed
hasDynamicPropertyRules()
public
hasDynamicPropertyRules() : mixed
hasEndVersion()
public
hasEndVersion() : mixed
hasInheritsFrom()
public
hasInheritsFrom() : mixed
hasParent()
public
hasParent() : mixed
hasProperties()
public
hasProperties() : mixed
hasStockChild()
public
hasStockChild() : mixed
hasVersionSpecificChildren()
public
hasVersionSpecificChildren() : mixed
precedesDynamicProperty()
public
precedesDynamicProperty() : mixed
setInheritsFrom()
public
setInheritsFrom(Component $inheritsFrom) : mixed
Parameters
- $inheritsFrom : Component
setParent()
public
setParent(Component $parent) : mixed
Parameters
- $parent : Component
setPropertiesToDynamicValues()
public
setPropertiesToDynamicValues(mixed $propertiesToDynamicValues) : mixed
Parameters
- $propertiesToDynamicValues : mixed
setStockChild()
public
setStockChild(Component $stockChild) : mixed
Parameters
- $stockChild : Component