PHP 클래스 MetaModels\BackendIntegration\InputScreen\InputScreen

상속: implements MetaModels\BackendIntegration\InputScreen\IInputScreen
파일 보기 프로젝트 열기: metamodels/core

보호된 프로퍼티들

프로퍼티 타입 설명
$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