Methods summary
public
|
#
__construct( string $name )
Create a new instance.
Parameters
- $name
string $name The name of the property.
|
public
DcGeneral\DataDefinition\Palette\PropertyInterface
|
#
setName( string $name )
Set the name of the property.
Set the name of the property.
Parameters
- $name
string $name The name of the property.
Returns
Implementation of
|
public
string
|
#
getName( )
Return the name of the property.
Return the name of the property.
Returns
string
Implementation of
|
public
boolean
|
#
isVisible( DcGeneral\Data\ModelInterface $model = null, DcGeneral\Data\PropertyValueBag $input = null )
Check the conditions, if this property is visible.
Check the conditions, if this property is visible.
Parameters
- $model
DcGeneral\Data\ModelInterface |null
$model 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.
- $input
DcGeneral\Data\PropertyValueBag
$input 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.
Returns
boolean
Implementation of
|
public
boolean
|
#
isEditable( DcGeneral\Data\ModelInterface $model = null, DcGeneral\Data\PropertyValueBag $input = null )
Check the conditions, if this property is editable.
Check the conditions, if this property is editable.
Parameters
- $model
DcGeneral\Data\ModelInterface |null
$model 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.
- $input
DcGeneral\Data\PropertyValueBag
$input 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.
Returns
boolean
Implementation of
|
public
DcGeneral\DataDefinition\Palette\PropertyInterface
|
|
public
DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
|
#
getVisibleCondition( )
Get the visible condition for this property.
Get the visible condition for this property.
Returns
Implementation of
|
public
DcGeneral\DataDefinition\Palette\PropertyInterface
|
|
public
DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
|
#
getEditableCondition( )
Get the editable condition for this property.
Get the editable condition for this property.
Returns
Implementation of
|
public
|
#
__clone( )
Create a deep clone of the property.
Create a deep clone of the property.
Implementation of
|