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 ManipulateWidgetEvent

Class ManipulateWidgetEvent.

This event gets emitted when a widget shall get manipulated. This happens directly after all the initialization has been done.

If you want to create the widget entirely by yourself refer to the BuildWidgetEvent event.

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\ManipulateWidgetEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
See: DcGeneral\Contao\View\Contao2BackendView\Event\BuildWidgetEvent
Located at Contao/View/Contao2BackendView/Event/ManipulateWidgetEvent.php
Methods summary
public
# __construct( DcGeneral\EnvironmentInterface $environment, DcGeneral\Data\ModelInterface $model, DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property, Widget $widget )

Create a new event.

Create a new event.

Parameters

$environment
DcGeneral\EnvironmentInterface
$environment The environment in use.
$model
DcGeneral\Data\ModelInterface
$model The model for which the widget is created.
$property
DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
$property The property information for which the widget is created.
$widget
Widget
$widget The widget instance to manipulate.

Overrides

DcGeneral\Event\AbstractModelAwareEvent::__construct()
public Widget
# getWidget( )

Retrieve the widget instance.

Retrieve the widget instance.

Returns

Widget
public DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
# getProperty( )

Retrieve the property information for which the widget is created for.

Retrieve the property information for which the widget is created for.

Returns

DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
Methods inherited from DcGeneral\Event\AbstractModelAwareEvent
getModel()
Methods inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
getEnvironment()
Constants summary
string NAME 'dc-general.view.contao2backend.manipulate-widget'
#
Properties summary
protected Widget $widget
#

The widget instance to manipulate.

The widget instance to manipulate.

protected DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property
#

The property information for which the widget has been created.

The property information for which the widget has been created.

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