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

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

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

Метод Описание
decodeAttributeIdValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void Translates an attribute id to a generated alias {@see getAttributeNames()}.
encodeAttributeIdValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void Translates an generated alias {@see getAttributeNames()} to the corresponding attribute id.
generatePasteButton ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteButtonEvent $event ) : void Generate the paste button.
getAttributeIdOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Prepares a option list with alias => name connection for all attributes.
getDefaultIdOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Provide options for default selection.
getMetaModel ( ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model ) : MetaModels\IMetaModel Retrieve the MetaModel attached to the model filter setting.
getTemplateOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Provide options for default selection.
getTypeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Provide options for default selection.

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

Метод Описание
cleanDefaultIdOptions ( array $options, boolean $onlyUsed, array $count ) : array Ensure that all options have a value.
registerEventsInDispatcher ( ) : void Register all listeners to handle creation of a data container.
registerModelRenderers ( ) : void Register the events for rendering a model.

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

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

Ensure that all options have a value.
protected cleanDefaultIdOptions ( array $options, boolean $onlyUsed, array $count ) : array
$options array The options to be cleaned.
$onlyUsed boolean Determines if only "used" values shall be returned.
$count array Array for the counted values.
Результат array

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

Translates an attribute id to a generated alias {@see getAttributeNames()}.
public decodeAttributeIdValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent The event.
Результат void

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

Translates an generated alias {@see getAttributeNames()} to the corresponding attribute id.
public encodeAttributeIdValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent The event.
Результат void

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

Generate the paste button.
public generatePasteButton ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteButtonEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteButtonEvent The event.
Результат void

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

This is used in the attr_id select box.
public getAttributeIdOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
Результат void

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

Provide options for default selection.
public getDefaultIdOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
Результат void

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

Retrieve the MetaModel attached to the model filter setting.
public getMetaModel ( ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model ) : MetaModels\IMetaModel
$model ContaoCommunityAlliance\DcGeneral\Data\ModelInterface The model for which to retrieve the MetaModel.
Результат MetaModels\IMetaModel

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

Provide options for default selection.
public getTemplateOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
Результат void

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

Provide options for default selection.
public getTypeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
Результат void

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

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

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

Register the events for rendering a model.
Устаревший: This is only present to support legacy drawing.
protected registerModelRenderers ( ) : void
Результат void