Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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} |
Метод | Описание | |
---|---|---|
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. |
Результат | ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface |
protected transformConditions ( array $conditions ) : void | ||
$conditions | array | The property condition information. |
Результат | void |
protected transformGroupSort ( array $rows ) : void | ||
$rows | array | The rows from the Database to convert. |
Результат | void |
protected translateLegend ( array $legend, MetaModels\IMetaModel $metaModel ) : string | ||
$legend | array | The legend to transform. |
$metaModel | MetaModels\IMetaModel | The metamodel the legend belongs to. |
Результат | 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. |
Результат | boolean |
protected translateRows ( array $rows ) : void | ||
$rows | array | The database rows. |
Результат | void |
protected ConditionChainInterface[],ContaoCommunityAlliance\DcGeneral\DataDefinition $conditions | ||
Результат | ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionChainInterface[] |
protected IMetaModelsServiceContainer,MetaModels $container | ||
Результат | MetaModels\IMetaModelsServiceContainer |
protected IInputScreenGroupingAndSorting[],MetaModels\BackendIntegration\InputScreen $groupSort | ||
Результат | MetaModels\BackendIntegration\InputScreen\IInputScreenGroupingAndSorting[] |
protected array $legends | ||
Результат | array |
protected array $properties | ||
Результат | array |
protected array $propertyMap | ||
Результат | array |
protected array $propertyMap2 | ||
Результат | array |