PHP Класс MetaModels\DcGeneral\Events\Table\InputScreens\Subscriber

Наследование: extends MetaModels\DcGeneral\Events\BaseSubscriber
Показать файл Открыть проект

Открытые методы

Метод Описание
buildLegendTitleWidget ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\BuildWidgetEvent $event ) : void Generate the widget.
buildPaletteRestrictions ( ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent $event ) : void Build the data definition palettes.
decodeLegendTitleValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void Decode the title value.
encodeLegendTitleValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void Encode the title value.
getAttributeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Retrieve the options for the attributes.
getRichTextEditorOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Retrieve the options for rich text editor configuration.
getWizardForTlClass ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent $event ) : void Build the wizard string.
handleModelToLabel ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void Render an attribute or legend.

Защищенные методы

Метод Описание
addCondition ( ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface $property, ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionInterface $condition ) : void Add a condition to a property.
drawAttribute ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void Draw the input screen setting.
drawLegend ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void Draw a legend.
getLegend ( string $name, ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface $palette, ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $prevLegend = null ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface Retrieve the legend with the given name.
getMetaModelFromModel ( ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model ) : MetaModels\IMetaModel Retrieve the MetaModel the given model is attached to.
getProperty ( string $name, ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface Retrieve a property from a legend or create a new one.
registerEventsInDispatcher ( ) : void Register all listeners to handle creation of a data container.

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

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

Add a condition to a property.
protected addCondition ( ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface $property, ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionInterface $condition ) : void
$property ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface The property.
$condition ContaoCommunityAlliance\DcGeneral\DataDefinition\ConditionInterface The condition to add.
Результат void

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

Generate the widget.
public buildLegendTitleWidget ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\BuildWidgetEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\BuildWidgetEvent The event.
Результат void

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

Build the data definition palettes.
public buildPaletteRestrictions ( ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent The event.
Результат void

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

Decode the title value.
public decodeLegendTitleValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent The event.
Результат void

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

Draw the input screen setting.
protected drawAttribute ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent The event.
Результат void

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

Draw a legend.
protected drawLegend ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent The event.
Результат void

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

Encode the title value.
public encodeLegendTitleValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent The event.
Результат void

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

Retrieve the options for the attributes.
public getAttributeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
Результат void

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

Retrieve the legend with the given name.
protected getLegend ( string $name, ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface $palette, ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $prevLegend = null ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface
$name string Name of the legend.
$palette ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface The palette.
$prevLegend ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface The previous legend.
Результат ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface

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

Retrieve the MetaModel the given model is attached to.
protected getMetaModelFromModel ( ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model ) : MetaModels\IMetaModel
$model ContaoCommunityAlliance\DcGeneral\Data\ModelInterface The input screen model for which to retrieve the MetaModel.
Результат MetaModels\IMetaModel

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

Retrieve a property from a legend or create a new one.
protected getProperty ( string $name, ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
$name string The legend name.
$legend ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface The legend instance.
Результат ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface

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

Retrieve the options for rich text editor configuration.
public getRichTextEditorOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
Результат void

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

Build the wizard string.
public getWizardForTlClass ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent The event.
Результат void

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

Render an attribute or legend.
public handleModelToLabel ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent The event.
Результат void

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

Register all listeners to handle creation of a data container.
protected registerEventsInDispatcher ( ) : void
Результат void