Method | Description | |
---|---|---|
decodeAttributeValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void | Translates an attribute id to a generated alias. | |
decodeValueValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void | Translates an value to a generated alias to allow numeric values. | |
encodeAttributeValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void | Translates an generated alias to the corresponding attribute id. | |
encodeValueValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void | Translates an generated alias to the corresponding value. | |
generatePasteButton ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteButtonEvent $event ) : void | Generate the paste button. | |
getAttributeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void | Prepares an option list with alias => name connection for all attributes. | |
getLabelText ( ContaoCommunityAlliance\Translator\TranslatorInterface $translator, string $type ) : string | Retrieve the label text for a condition setting or the default one. | |
getMetaModel ( ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $interface ) : MetaModels\IMetaModel | Retrieve the MetaModel attached to the model condition setting. | |
getTypeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void | Provide options for property condition types. | |
getValueOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void | Provide options for the values contained within a certain attribute. | |
handleModelToLabel ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void | Render the html for the input screen condition. | |
setValueOptionsMultiple ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent $event ) : void | Set the the value select to multiple. |
Method | Description | |
---|---|---|
registerEventsInDispatcher ( ) : void | Register all listeners to handle creation of a data container. |
Method | Description | |
---|---|---|
getOptionsViaDcGeneral ( MetaModels\IMetaModel $metaModel, ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment, MetaModels\Attribute\IAttribute $attribute ) : array | Obtain the values of a property within a dc-general instance. |
public decodeAttributeValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent | The event. |
return | void |
public decodeValueValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent | The event. |
return | void |
public encodeAttributeValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent | The event. |
return | void |
public encodeValueValue ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent | The event. |
return | void |
public generatePasteButton ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteButtonEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteButtonEvent | The event. |
return | void |
public getAttributeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent | The event. |
return | void |
public getLabelText ( ContaoCommunityAlliance\Translator\TranslatorInterface $translator, string $type ) : string | ||
$translator | ContaoCommunityAlliance\Translator\TranslatorInterface | The environment in use. |
$type | string | The type of the element. |
return | string |
public getMetaModel ( ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $interface ) : MetaModels\IMetaModel | ||
$interface | ContaoCommunityAlliance\DcGeneral\EnvironmentInterface | The environment. |
return | MetaModels\IMetaModel |
public getTypeOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent | The event. |
return | void |
public getValueOptions ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent | The event. |
return | void |
public handleModelToLabel ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent | The event. |
return | void |
protected registerEventsInDispatcher ( ) : void | ||
return | void |
public setValueOptionsMultiple ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent | The event. |
return | void |