NumberFormat
extends StyleBase
in package
Table of Contents
Methods
- parseStyle() : array<string|int, mixed>
- getAttributes() : SimpleXMLElement
- identifyFixedStyleValue() : bool
Methods
parseStyle()
public
parseStyle(SimpleXMLElement $styleAttributes[, array<string|int, string> $numberFormatMappings = self::FORMAT_MAPPINGS ]) : array<string|int, mixed>
Parameters
- $styleAttributes : SimpleXMLElement
- $numberFormatMappings : array<string|int, string> = self::FORMAT_MAPPINGS
-
expected to be FORMAT_MAPPINGS, but individual entries can be overridden
Return values
array<string|int, mixed>getAttributes()
protected
static getAttributes(SimpleXMLElement|null $simple, string $node) : SimpleXMLElement
Parameters
- $simple : SimpleXMLElement|null
- $node : string
Return values
SimpleXMLElementidentifyFixedStyleValue()
protected
static identifyFixedStyleValue(array<string|int, string> $styleList, string &$styleAttributeValue) : bool
Parameters
- $styleList : array<string|int, string>
- $styleAttributeValue : string