A property contained within a palette.
__clone() : void
getEditableCondition() : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
getName() : string
string
getVisibleCondition() : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
isEditable(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface|null $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend) : bool
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
null
If given, sub palettes will be evaluated depending on the model. If no model is given, all properties will be returned, including sub palette properties.
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag
If given, sub palettes will be evaluated depending on the input data. If no model and no input data is given, all properties will be returned, including sub palette properties.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface
The legend the property is assigned to.
bool
isVisible(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface|null $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend) : bool
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
null
If given, sub palettes will be evaluated depending on the model. If no model is given, all properties will be returned, including sub palette properties.
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag
If given, sub palettes will be evaluated depending on the input data. If no model and no input data is given, all properties will be returned, including sub palette properties.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface
The legend the property is assigned to.
bool
setEditableCondition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface $condition) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
The condition.
setName(string $name) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
string
The name of the property.
setVisibleCondition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface $condition) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
The condition.