Class AbstractModelAwareEvent
Abstract base class for an event that need an environment and a model.
- Symfony\Component\EventDispatcher\Event
-
DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
-
DcGeneral\Event\AbstractModelAwareEvent implements DcGeneral\ModelAwareInterface
Direct known subclasses
DcGeneral\Contao\View\Contao2BackendView\Event\BuildWidgetEvent, DcGeneral\Contao\View\Contao2BackendView\Event\DecodePropertyValueForWidgetEvent, DcGeneral\Event\PostDeleteModelEvent, DcGeneral\Event\PostDuplicateModelEvent, DcGeneral\Event\PostPasteModelEvent, DcGeneral\Event\PostPersistModelEvent, DcGeneral\Event\PreCreateModelEvent, DcGeneral\Event\PreDeleteModelEvent, DcGeneral\Event\PreDuplicateModelEvent, DcGeneral\Event\PrePasteModelEvent, DcGeneral\Event\PrePersistModelEvent, DcGeneral\View\Event\RenderReadablePropertyValueEvent, DcGeneral\Contao\View\Contao2BackendView\Event\EditModelBeforeSaveEvent, DcGeneral\Contao\View\Contao2BackendView\Event\EncodePropertyValueFromWidgetEvent, DcGeneral\Contao\View\Contao2BackendView\Event\GetGroupHeaderEvent, DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent, DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent, DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent, DcGeneral\Contao\View\Contao2BackendView\Event\ParentViewChildRecordEvent, DcGeneral\Event\PostCreateModelEvent
public
|
#
__construct(
Create a new model aware event. |
public
|
getEnvironment()
|
protected
|
$model |
|
#
The model attached to the event. |
$environment
|