Overview

Namespaces

  • DcGeneral
    • Clipboard
    • Contao
      • Callback
      • Compatibility
      • DataDefinition
        • Definition
      • Dca
        • Builder
          • Legacy
        • Definition
        • Palette
        • Populator
      • Event
      • View
        • Contao2BackendView
          • Event
    • Controller
    • Data
    • DataDefinition
      • Builder
      • Definition
        • Properties
        • View
          • Panel
      • ModelRelationship
      • Palette
        • Builder
          • Event
        • Condition
          • Palette
          • Property
    • EnvironmentPopulator
    • Event
    • Exception
    • Factory
      • Event
    • Panel
    • View
      • Event

Classes

  • BaseButtonEvent
  • BaseGetButtonsEvent
  • BuildWidgetEvent
  • DecodePropertyValueForWidgetEvent
  • EditModelBeforeSaveEvent
  • EncodePropertyValueFromWidgetEvent
  • GetBreadcrumbEvent
  • GetEditModeButtonsEvent
  • GetGlobalButtonEvent
  • GetGlobalButtonsEvent
  • GetGroupHeaderEvent
  • GetOperationButtonEvent
  • GetParentHeaderEvent
  • GetPasteButtonEvent
  • GetPasteRootButtonEvent
  • GetPropertyOptionsEvent
  • GetSelectModeButtonsEvent
  • ManipulateWidgetEvent
  • ModelToLabelEvent
  • ParentViewChildRecordEvent
  • ResolveWidgetErrorMessageEvent
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class EncodePropertyValueFromWidgetEvent

Class EncodePropertyValueFromWidgetEvent.

This event is issued when a property value has to be converted from data understood by the widget into the native data (presented by the data provider).

Symfony\Component\EventDispatcher\Event
Extended by DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
Extended by DcGeneral\Event\AbstractModelAwareEvent implements DcGeneral\ModelAwareInterface
Extended by DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/EncodePropertyValueFromWidgetEvent.php
Methods summary
public DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent
# setProperty( string $property )

Set the name of the property.

Set the name of the property.

Parameters

$property
string
$property The name of the property.

Returns

DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent
public string
# getProperty( )

Retrieve the name of the property.

Retrieve the name of the property.

Returns

string
public DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent
# setValue( mixed $value )

Set the value in the event.

Set the value in the event.

Parameters

$value
mixed
$value The new value.

Returns

DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent
public mixed
# getValue( )

Retrieve the value from the event.

Retrieve the value from the event.

Returns

mixed
Methods inherited from DcGeneral\Event\AbstractModelAwareEvent
__construct(), getModel()
Methods inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
getEnvironment()
Constants summary
string NAME 'dc-general.view.contao2backend.encode-property-value-from-widget'
#
Properties summary
protected string $property
#

The name of the property for which the data shall be decoded.

The name of the property for which the data shall be decoded.

protected mixed $value
#

The value of the data.

The value of the data.

Properties inherited from DcGeneral\Event\AbstractModelAwareEvent
$model
Properties inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
$environment
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0