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 ResolveWidgetErrorMessageEvent

Class ResolveWidgetErrorMessageEvent.

This event gets emitted when the error message of a widget shall get resolved.

Symfony\Component\EventDispatcher\Event
Extended by DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
Extended by DcGeneral\Contao\View\Contao2BackendView\Event\ResolveWidgetErrorMessageEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/ResolveWidgetErrorMessageEvent.php
Methods summary
public
# __construct( DcGeneral\EnvironmentInterface $environment, string $error )

Create a new instance of the event.

Create a new instance of the event.

Parameters

$environment
DcGeneral\EnvironmentInterface
$environment The environment in use.
$error
string
$error The error message.

Overrides

DcGeneral\Event\AbstractEnvironmentAwareEvent::__construct()
public DcGeneral\Contao\View\Contao2BackendView\Event\ResolveWidgetErrorMessageEvent
# setError( mixed $error )

Set the error message.

Set the error message.

Parameters

$error
mixed
$error The error message.

Returns

DcGeneral\Contao\View\Contao2BackendView\Event\ResolveWidgetErrorMessageEvent
public mixed
# getError( )

Retrieve the error message.

Retrieve the error message.

Returns

mixed
Methods inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
getEnvironment()
Constants summary
string NAME 'dc-general.view.widget.resolve-error-message'
#
Properties summary
protected mixed $error
#

The error message.

The error message.

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