class Set (View source)

Properties

protected $name
protected $elements

Methods

setName($name)

No description

getName()

No description

string
getDisplayName(string $format = 'html')

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

addStyle(Style $style)

No description

getStyles()

No description

Details

setName($name)

Parameters

$name

getName()

string getDisplayName(string $format = 'html')

Returns 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

addStyle(Style $style)

Parameters

Style $style

getStyles()