StyleList
class StyleList implements JsonSerializable (View source)
Properties
protected Set[] | $sets | The list of the style sets. |
Methods
jsonSerialize()
No description
iterable
getAllStyles()
Traverses all sets and retrieves all styles. Basically a shortcut to allow developers not to have to traverse the sets themselves when working with the basic values in a style list.
Details
Set
addSet(string $name)
Add a new empty style set.
Set[]
getSets()
Get the list of the style sets.
jsonSerialize()
No description
iterable
getAllStyles()
Traverses all sets and retrieves all styles. Basically a shortcut to allow developers not to have to traverse the sets themselves when working with the basic values in a style list.