PHP Класс MetaModels\BackendIntegration\InputScreen\InputScreen

Наследование: implements MetaModels\BackendIntegration\InputScreen\IInputScreen
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Описание методов

__construct() публичный Метод

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() защищенный Метод

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.
Результат void

getBackendCaption() публичный Метод

{@inheritDoc}
public getBackendCaption ( )

getBackendSection() публичный Метод

{@inheritDoc}
public getBackendSection ( )

getConditionsFor() публичный Метод

{@inheritDoc}
public getConditionsFor ( $name )

getGroupingAndSorting() публичный Метод

{@inheritDoc}

getIcon() публичный Метод

{@inheritDoc}
public getIcon ( )

getId() публичный Метод

{@inheritDoc}
public getId ( )

getLegend() публичный Метод

{@inheritDoc}
public getLegend ( $name )

getLegendNames() публичный Метод

{@inheritDoc}
public getLegendNames ( )

getLegends() публичный Метод

{@inheritDoc}
public getLegends ( )

getMetaModel() публичный Метод

{@inheritDoc}
public getMetaModel ( )

getPanelLayout() публичный Метод

{@inheritDoc}
public getPanelLayout ( )

getParentTable() публичный Метод

{@inheritDoc}
public getParentTable ( )

getProperties() публичный Метод

{@inheritDoc}
public getProperties ( )

getProperty() публичный Метод

{@inheritDoc}
public getProperty ( $name )

getPropertyNames() публичный Метод

{@inheritDoc}
public getPropertyNames ( )

getRenderMode() публичный Метод

{@inheritDoc}
public getRenderMode ( )

isClosed() публичный Метод

{@inheritDoc}
public isClosed ( )

isCreatable() публичный Метод

{@inheritDoc}
public isCreatable ( )

isDeletable() публичный Метод

{@inheritDoc}
public isDeletable ( )

isEditable() публичный Метод

{@inheritDoc}
public isEditable ( )

isFlat() публичный Метод

{@inheritDoc}
public isFlat ( )

isHierarchical() публичный Метод

{@inheritDoc}
public isHierarchical ( )

isParented() публичный Метод

{@inheritDoc}
public isParented ( )

isShowColumns() публичный Метод

{@inheritDoc}
public isShowColumns ( )

isStandalone() публичный Метод

{@inheritDoc}
public isStandalone ( )

transformCondition() защищенный Метод

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.
Результат ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface

transformConditions() защищенный Метод

Transform the given condition array into real conditions.
protected transformConditions ( array $conditions ) : void
$conditions array The property condition information.
Результат void

transformGroupSort() защищенный Метод

Transform the grouping and sorting modes.
protected transformGroupSort ( array $rows ) : void
$rows array The rows from the Database to convert.
Результат void

translateLegend() защищенный Метод

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.
Результат string

translateProperty() защищенный Метод

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.
Результат boolean

translateRows() защищенный Метод

Translate database rows into legend and property information.
protected translateRows ( array $rows ) : void
$rows array The database rows.
Результат void

Описание свойств

$conditions защищенное свойство

The conditions.
protected ConditionChainInterface[],ContaoCommunityAlliance\DcGeneral\DataDefinition $conditions
Результат ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionChainInterface[]

$container защищенное свойство

The service container.
protected IMetaModelsServiceContainer,MetaModels $container
Результат MetaModels\IMetaModelsServiceContainer

$data защищенное свойство

The data for the input screen.
protected array $data
Результат array

$groupSort защищенное свойство

Grouping and sorting information.
protected IInputScreenGroupingAndSorting[],MetaModels\BackendIntegration\InputScreen $groupSort
Результат MetaModels\BackendIntegration\InputScreen\IInputScreenGroupingAndSorting[]

$legends защищенное свойство

The legends contained within the input screen.
protected array $legends
Результат array

$properties защищенное свойство

The properties contained within the input screen.
protected array $properties
Результат array

$propertyMap защищенное свойство

Simple map from property setting id to property name.
protected array $propertyMap
Результат array

$propertyMap2 защищенное свойство

Simple map from property name to property setting id.
protected array $propertyMap2
Результат array