Property | Type | Description | |
---|---|---|---|
$conditions | ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionChainInterface[] | The conditions. | |
$container | MetaModels\IMetaModelsServiceContainer | The service container. | |
$data | array | The data for the input screen. | |
$groupSort | MetaModels\BackendIntegration\InputScreen\IInputScreenGroupingAndSorting[] | Grouping and sorting information. | |
$legends | array | The legends contained within the input screen. | |
$properties | array | The properties contained within the input screen. | |
$propertyMap | array | Simple map from property setting id to property name. | |
$propertyMap2 | array | Simple map from property name to property setting id. |
Method | Description | |
---|---|---|
__construct ( MetaModels\IMetaModelsServiceContainer $container, array $data, array $propertyRows, array $conditions, array $groupSort ) | Create a new instance. | |
getBackendCaption ( ) | {@inheritDoc} | |
getBackendSection ( ) | {@inheritDoc} | |
getConditionsFor ( $name ) | {@inheritDoc} | |
getGroupingAndSorting ( ) | {@inheritDoc} | |
getIcon ( ) | {@inheritDoc} | |
getId ( ) | {@inheritDoc} | |
getLegend ( $name ) | {@inheritDoc} | |
getLegendNames ( ) | {@inheritDoc} | |
getLegends ( ) | {@inheritDoc} | |
getMetaModel ( ) | {@inheritDoc} | |
getPanelLayout ( ) | {@inheritDoc} | |
getParentTable ( ) | {@inheritDoc} | |
getProperties ( ) | {@inheritDoc} | |
getProperty ( $name ) | {@inheritDoc} | |
getPropertyNames ( ) | {@inheritDoc} | |
getRenderMode ( ) | {@inheritDoc} | |
isClosed ( ) | {@inheritDoc} | |
isCreatable ( ) | {@inheritDoc} | |
isDeletable ( ) | {@inheritDoc} | |
isEditable ( ) | {@inheritDoc} | |
isFlat ( ) | {@inheritDoc} | |
isHierarchical ( ) | {@inheritDoc} | |
isParented ( ) | {@inheritDoc} | |
isShowColumns ( ) | {@inheritDoc} | |
isStandalone ( ) | {@inheritDoc} |
Method | Description | |
---|---|---|
applyLegendConditions ( integer $attributeId, integer $activeLegendId ) : void | Apply legend conditions to its attribute. | |
transformCondition ( array $condition ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface | Transform a single condition into a valid condition object. | |
transformConditions ( array $conditions ) : void | Transform the given condition array into real conditions. | |
transformGroupSort ( array $rows ) : void | Transform the grouping and sorting modes. | |
translateLegend ( array $legend, MetaModels\IMetaModel $metaModel ) : string | Transform a legend information into the property legends. | |
translateProperty ( array $property, MetaModels\IMetaModel $metaModel, string $legend ) : boolean | Translate a property. | |
translateRows ( array $rows ) : void | Translate database rows into legend and property information. |
public __construct ( MetaModels\IMetaModelsServiceContainer $container, array $data, array $propertyRows, array $conditions, array $groupSort ) | ||
$container | MetaModels\IMetaModelsServiceContainer | The service container. |
$data | array | The information about the input screen. |
$propertyRows | array | The information about all contained properties. |
$conditions | array | The property condition information. |
$groupSort | array | The grouping and sorting information. |
protected transformCondition ( array $condition ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface | ||
$condition | array | The condition to transform. |
return | ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface |
protected transformConditions ( array $conditions ) : void | ||
$conditions | array | The property condition information. |
return | void |
protected transformGroupSort ( array $rows ) : void | ||
$rows | array | The rows from the Database to convert. |
return | void |
protected translateLegend ( array $legend, MetaModels\IMetaModel $metaModel ) : string | ||
$legend | array | The legend to transform. |
$metaModel | MetaModels\IMetaModel | The metamodel the legend belongs to. |
return | string |
protected translateProperty ( array $property, MetaModels\IMetaModel $metaModel, string $legend ) : boolean | ||
$property | array | The property information to transform. |
$metaModel | MetaModels\IMetaModel | The MetaModel the property belongs to. |
$legend | string | The legend the property belongs to. |
return | boolean |
protected translateRows ( array $rows ) : void | ||
$rows | array | The database rows. |
return | void |
protected ConditionChainInterface[],ContaoCommunityAlliance\DcGeneral\DataDefinition $conditions | ||
return | ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionChainInterface[] |
protected IMetaModelsServiceContainer,MetaModels $container | ||
return | MetaModels\IMetaModelsServiceContainer |
protected IInputScreenGroupingAndSorting[],MetaModels\BackendIntegration\InputScreen $groupSort | ||
return | MetaModels\BackendIntegration\InputScreen\IInputScreenGroupingAndSorting[] |
protected array $legends | ||
return | array |
protected array $properties | ||
return | array |
protected array $propertyMap | ||
return | array |
protected array $propertyMap2 | ||
return | array |