eZPublishCommunityProject  2013.4
eZ\Publish\SPI\FieldType\EventListener Interface Reference

A field type interface which field types can optionally implement. More...

Public Member Functions

 handleEvent (Event $event)
 This method is called on occurring events. More...
 

Detailed Description

A field type interface which field types can optionally implement.

Field types that implemented this interface will be notified about certain events, both before and after something has happened. This allows the field type to perform certain actions.

Note: This is a low level synchronous events, for more generic asynchronous events like sending out notifications, please use the signal slot system instead (create and register a slot to listen to events).

Member Function Documentation

eZ\Publish\SPI\FieldType\EventListener::handleEvent ( Event  $event)

This method is called on occurring events.

This method is called on occurring events in the Core to allow FieldTypes to react to such events.

Parameters
\eZ\Publish\SPI\FieldType\Event$event

The documentation for this interface was generated from the following file: