Result
class Result (View source)
Properties
protected int[] | $addedValues | List of added values (array keys are strings representing a value, array values are the number of times the value has been added). |
|
protected int[] | $updatedValues | List of updated values (array keys are strings representing a value, array values are the number of times the value has been updated). |
|
protected int[] | $removedInvalidValues | List of invalid values (array keys are strings describing the warning, array values are the number of times the warning occurred). |
|
protected int[] | $removedDuplicatedValues | List of values removed because duplicated (array keys are strings representing a value, array values are the number of times the value has been removed). |
|
protected int[] | $removedUnusedValues | List of values removed because unused (array keys are strings representing a value, array values are the number of times the value has been removed). |
|
protected string[] | $warnings | List of generic warnings. |
|
protected Style[] | $variablesWithoutValueInPresets | List of variables defined in the theme XML files that don't have a value in any theme preset. |
Methods
Get a plain text-string representation of this instance.
Get the list of the added values.
Get the list of updated values.
Add a value that has been removed from an existing style list because not valid.
Get the list of invalid values.
Add a value that has been removed from an existing style list because duplicated.
Get the list of values removed because duplicated.
Add a value that has been removed from an existing style list because unused.
Get the list of values removed because unused.
Add a generic warning.
Get the list of generic warnings.
Add a variable defined in the theme XML file that doesn't have a value in any theme preset.
Get the list of variables defined in the theme XML files that don't have a value in any theme preset.
Build a string that can be used to identify the type and name of a style value.
No description
No description
No description
No description
Details
string
__toString()
Get a plain text-string representation of this instance.
$this
addAddedValue(Value $value)
Add a value that has been added to an existing style list.
int[]
getAddedValues()
Get the list of the added values.
$this
addUpdatedValue(Value $value)
Add a value that has been udated in an existing style list.
int[]
getUpdatedValues()
Get the list of updated values.
$this
addRemovedInvalidValue(string $reason)
Add a value that has been removed from an existing style list because not valid.
int[]
getRemovedInvalidValues()
Get the list of invalid values.
$this
addRemovedDuplicatedValue(Value $value)
Add a value that has been removed from an existing style list because duplicated.
int[]
getRemovedDuplicatedValues()
Get the list of values removed because duplicated.
$this
addRemovedUnusedValue(Value $value)
Add a value that has been removed from an existing style list because unused.
int[]
getRemovedUnusedValues()
Get the list of values removed because unused.
$this
addWarning(mixed $value)
Add a generic warning.
string[]
getWarnings()
Get the list of generic warnings.
$this
addVariableWithoutValueInPresets(Style $variable, bool $addToWarnings = true)
Add a variable defined in the theme XML file that doesn't have a value in any theme preset.
Style[]
getVariablesWithoutValueInPresets()
Get the list of variables defined in the theme XML files that don't have a value in any theme preset.
protected string
getValueKey(Value $value)
Build a string that can be used to identify the type and name of a style value.
protected string[]
describeValueList(string $name, array $valueList)
No description
protected string[]
describeCountedStringList(string $name, array $strings)
No description
protected string[]
describeStringList(string $name, array $strings)
No description
protected string
describeValueKey(string $key)
No description