PHP Class MetaModels\BackendIntegration\InputScreen\InputScreen

Inheritance: implements MetaModels\BackendIntegration\InputScreen\IInputScreen
Afficher le fichier Open project: metamodels/core

Protected Properties

Свойство 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.

Méthodes publiques

Méthode 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}

Méthodes protégées

Méthode 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.

Method Details

__construct() public méthode

Create a new instance.
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.

applyLegendConditions() protected méthode

Apply legend conditions to its attribute.
protected applyLegendConditions ( integer $attributeId, integer $activeLegendId ) : void
$attributeId integer The attribute setting id.
$activeLegendId integer The legend setting id.
Résultat void

getBackendCaption() public méthode

{@inheritDoc}
public getBackendCaption ( )

getBackendSection() public méthode

{@inheritDoc}
public getBackendSection ( )

getConditionsFor() public méthode

{@inheritDoc}
public getConditionsFor ( $name )

getGroupingAndSorting() public méthode

{@inheritDoc}

getIcon() public méthode

{@inheritDoc}
public getIcon ( )

getId() public méthode

{@inheritDoc}
public getId ( )

getLegend() public méthode

{@inheritDoc}
public getLegend ( $name )

getLegendNames() public méthode

{@inheritDoc}
public getLegendNames ( )

getLegends() public méthode

{@inheritDoc}
public getLegends ( )

getMetaModel() public méthode

{@inheritDoc}
public getMetaModel ( )

getPanelLayout() public méthode

{@inheritDoc}
public getPanelLayout ( )

getParentTable() public méthode

{@inheritDoc}
public getParentTable ( )

getProperties() public méthode

{@inheritDoc}
public getProperties ( )

getProperty() public méthode

{@inheritDoc}
public getProperty ( $name )

getPropertyNames() public méthode

{@inheritDoc}
public getPropertyNames ( )

getRenderMode() public méthode

{@inheritDoc}
public getRenderMode ( )

isClosed() public méthode

{@inheritDoc}
public isClosed ( )

isCreatable() public méthode

{@inheritDoc}
public isCreatable ( )

isDeletable() public méthode

{@inheritDoc}
public isDeletable ( )

isEditable() public méthode

{@inheritDoc}
public isEditable ( )

isFlat() public méthode

{@inheritDoc}
public isFlat ( )

isHierarchical() public méthode

{@inheritDoc}
public isHierarchical ( )

isParented() public méthode

{@inheritDoc}
public isParented ( )

isShowColumns() public méthode

{@inheritDoc}
public isShowColumns ( )

isStandalone() public méthode

{@inheritDoc}
public isStandalone ( )

transformCondition() protected méthode

Transform a single condition into a valid condition object.
protected transformCondition ( array $condition ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
$condition array The condition to transform.
Résultat ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface

transformConditions() protected méthode

Transform the given condition array into real conditions.
protected transformConditions ( array $conditions ) : void
$conditions array The property condition information.
Résultat void

transformGroupSort() protected méthode

Transform the grouping and sorting modes.
protected transformGroupSort ( array $rows ) : void
$rows array The rows from the Database to convert.
Résultat void

translateLegend() protected méthode

Transform a legend information into the property legends.
protected translateLegend ( array $legend, MetaModels\IMetaModel $metaModel ) : string
$legend array The legend to transform.
$metaModel MetaModels\IMetaModel The metamodel the legend belongs to.
Résultat string

translateProperty() protected méthode

Translate a property.
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.
Résultat boolean

translateRows() protected méthode

Translate database rows into legend and property information.
protected translateRows ( array $rows ) : void
$rows array The database rows.
Résultat void

Property Details

$conditions protected_oe property

The conditions.
protected ConditionChainInterface[],ContaoCommunityAlliance\DcGeneral\DataDefinition $conditions
Résultat ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionChainInterface[]

$container protected_oe property

The service container.
protected IMetaModelsServiceContainer,MetaModels $container
Résultat MetaModels\IMetaModelsServiceContainer

$data protected_oe property

The data for the input screen.
protected array $data
Résultat array

$groupSort protected_oe property

Grouping and sorting information.
protected IInputScreenGroupingAndSorting[],MetaModels\BackendIntegration\InputScreen $groupSort
Résultat MetaModels\BackendIntegration\InputScreen\IInputScreenGroupingAndSorting[]

$legends protected_oe property

The legends contained within the input screen.
protected array $legends
Résultat array

$properties protected_oe property

The properties contained within the input screen.
protected array $properties
Résultat array

$propertyMap protected_oe property

Simple map from property setting id to property name.
protected array $propertyMap
Résultat array

$propertyMap2 protected_oe property

Simple map from property name to property setting id.
protected array $propertyMap2
Résultat array