class GroupedStyleValueListSet implements JsonSerializable (View source)

Properties

protected string $name
protected StyleValue[] $values

Methods

__construct($name)

GroupedStyleValueListSet constructor.

mixed
getName()

No description

string
getDisplayName(string $format = 'html')

Get the display name for this style set (localized and escaped accordingly to $format).

void
setName(mixed $name)

No description

jsonSerialize()

No description

addValue(StyleValue $value)

No description

Details

__construct($name)

GroupedStyleValueListSet constructor.

Parameters

$name

mixed getName()

No description

Return Value

mixed

string getDisplayName(string $format = 'html')

Get the display name for this style set (localized and escaped accordingly to $format).

Parameters

string $format

= 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string

void setName(mixed $name)

No description

Parameters

mixed $name

Return Value

void

jsonSerialize()

No description

addValue(StyleValue $value)

No description

Parameters

StyleValue $value