A property contained within a palette.

 Methods

{@inheritdoc}

__clone() 

Create a new instance.

__construct(string $name) 

Parameters

$name

string

The name of the property.

{@inheritdoc}

getEditableCondition() 

{@inheritdoc}

getName() 

{@inheritdoc}

getVisibleCondition() 

{@inheritdoc}

isEditable(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend) 

Parameters

$model

$input

$legend

{@inheritdoc}

isVisible(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend) 

Parameters

$model

$input

$legend

{@inheritdoc}

setEditableCondition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface $condition) 

Parameters

$condition

{@inheritdoc}

setName($name) 

Parameters

$name

{@inheritdoc}

setVisibleCondition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface $condition) 

Parameters

$condition

 Properties

 

The condition to be examined to determine if this property is editable.

$editableCondition : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
 

The name of the property.

$name : string
 

The condition to be examined to determine if this property is visible.

$visibleCondition : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface