Elgg  Version 3.0
Public Member Functions | Public Attributes | List of all members
Elgg\HooksRegistrationService\Event Class Reference

The object passed to invokable class name handlers. More...

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

Public Member Functions

 __construct (PublicContainer $dic, $name, $type, $object)
 Constructor. More...
 
 getName ()
 {Get the name of the event.
Returns
string
} More...
 
 getType ()
 {Get the type of the event object.
Returns
string
} More...
 
 getObject ()
 {Get the object of the event.
Returns
mixed
} More...
 
 elgg ()
 {Get the DI container.
Returns
PublicContainer
} More...
 
 toLegacyArgs ()
 

Public Attributes

const EVENT_TYPE = 'event'
 

Detailed Description

The object passed to invokable class name handlers.

Definition at line 12 of file Event.php.

Constructor & Destructor Documentation

Elgg\HooksRegistrationService\Event::__construct ( PublicContainer  $dic,
  $name,
  $type,
  $object 
)

Constructor.

Parameters
PublicContainer$dicDI container
string$nameEvent name
string$typeEvent type
mixed$objectObject of the event

Definition at line 32 of file Event.php.

Member Function Documentation

Elgg\HooksRegistrationService\Event::elgg ( )

{Get the DI container.

Returns
PublicContainer
}

Implements Elgg\Event.

Definition at line 63 of file Event.php.

Elgg\HooksRegistrationService\Event::getName ( )

{Get the name of the event.

Returns
string
}

Implements Elgg\Event.

Definition at line 42 of file Event.php.

Elgg\HooksRegistrationService\Event::getObject ( )

{Get the object of the event.

Returns
mixed
}

Implements Elgg\Event.

Definition at line 56 of file Event.php.

Elgg\HooksRegistrationService\Event::getType ( )

{Get the type of the event object.

Returns
string
}

Implements Elgg\Event.

Definition at line 49 of file Event.php.

Elgg\HooksRegistrationService\Event::toLegacyArgs ( )
Returns
array

Definition at line 70 of file Event.php.

Member Data Documentation

const Elgg\HooksRegistrationService\Event::EVENT_TYPE = 'event'

Definition at line 17 of file Event.php.


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