A condition define when a property is visible or editable and when not.
__clone() : void
match(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface|null $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface $property, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend) : bool
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
null
If given, subpalettes will be evaluated depending on the model. If no model is given, all properties will be returned, including subpalette properties.
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag
If given, subpalettes will be evaluated depending on the input data. If no model and no input data is given, all properties will be returned, including subpalette properties.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
The defined property.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface
The legend the property is assigned to.
bool