Elgg  Version 3.0
Public Member Functions | List of all members
Elgg\Event Interface Reference

Models an event passed to event handlers. More...

Inheritance diagram for Elgg\Event:
Elgg\HooksRegistrationService\Event Elgg\ObjectEvent Elgg\UserEvent Elgg\HooksRegistrationService\Event Elgg\HooksRegistrationService\Event

Public Member Functions

 getName ()
 Get the name of the event. More...
 
 getType ()
 Get the type of the event object. More...
 
 getObject ()
 Get the object of the event. More...
 
 elgg ()
 Get the DI container. More...
 

Detailed Description

Models an event passed to event handlers.

Since
2.0.0

Definition at line 11 of file Event.php.

Member Function Documentation

Elgg\Event::elgg ( )

Get the DI container.

Returns
PublicContainer

Implemented in Elgg\HooksRegistrationService\Event.

Elgg\Event::getName ( )

Get the name of the event.

Returns
string

Implemented in Elgg\HooksRegistrationService\Event.

Elgg\Event::getObject ( )

Get the object of the event.

Returns
mixed

Implemented in Elgg\HooksRegistrationService\Event, Elgg\ObjectEvent, and Elgg\UserEvent.

Elgg\Event::getType ( )

Get the type of the event object.

Returns
string

Implemented in Elgg\HooksRegistrationService\Event.


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