Default implementation of a palette.
Methods
{@inheritdoc}
addLegend(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $before)
Parameters
$legend
$before
Exceptions
{@inheritdoc}
addLegends(array $legends, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $before)
Parameters
$legends
$before
{@inheritdoc}
clearLegends()
{@inheritdoc}
containsLegend(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend)
{@inheritdoc}
getCondition()
{@inheritdoc}
getEditableProperties(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input)
{@inheritdoc}
getLegend($name)
Parameters
$name
Exceptions
{@inheritdoc}
getLegends()
{@inheritdoc}
getProperties(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input)
{@inheritdoc}
getProperty($propertyName)
Parameters
$propertyName
Exceptions
{@inheritdoc}
getVisibleProperties(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input)
{@inheritdoc}
hasLegend($name)
{@inheritdoc}
removeLegend(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend)
{@inheritdoc}
setCondition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface $condition)
{@inheritdoc}
setLegends(array $legends)
{@inheritdoc}
setName($name)
Properties
The name of this palette.
$name : string
deprecated |
Only for backwards compatibility, we will remove palette names in the future! |