Set
class Set implements JsonSerializable (View source)
Properties
protected string | $name | The name of the style customizer set. |
|
protected Style[] | $styles | The list of styles associated to this set. |
Methods
setName(string $name)
Set the name of the style customizer set.
string
getName()
Get the name of the style customizer set.
string
getDisplayName(string $format = 'html')
Get the display name for this style set (localized and escaped accordingly to $format).
jsonSerialize()
No description
Details
setName(string $name)
Set the name of the style customizer set.
string
getName()
Get the name of the style customizer set.
string
getDisplayName(string $format = 'html')
Get the display name for this style set (localized and escaped accordingly to $format).
addStyle(Style $style)
Add a style to this set.
Style[]
getStyles()
Get the list of styles associated to this set.
jsonSerialize()
No description