Elgg
Version 6.1
|
Instant notification event. More...
Public Member Functions | |
__construct (\ElggData $object=null, string $action=null,\ElggEntity $actor=null) | |
Constructor. More... | |
getActor () | |
Get the actor of the event. More... | |
getActorGUID () | |
Get the GUID of the actor. More... | |
getObject () | |
Get the object of the event. More... | |
getAction () | |
Get the name of the action. More... | |
getDescription () | |
Get a description of the event. More... | |
toObject () | |
Export the notification event into a serializable object This method is mainly used for logging purposes. More... | |
Public Attributes | |
const | DEFAULT_ACTION_NAME = 'notify_user' |
Protected Attributes | |
$action | |
$object | |
$actor | |
Elgg\Notifications\InstantNotificationEvent::__construct | ( | \ElggData | $object = null , |
string | $action = null , |
||
\ElggEntity | $actor = null |
||
) |
Constructor.
\ElggData | $object | The object of the event (ElggEntity) |
string | $action | The name of the action (default: create) |
\ElggEntity | $actor | The entity that caused the event (default: logged in user) |
Definition at line 41 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getAction | ( | ) |
Get the name of the action.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 97 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getActor | ( | ) |
Get the actor of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 62 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getActorGUID | ( | ) |
Get the GUID of the actor.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 75 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getDescription | ( | ) |
Get a description of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 106 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getObject | ( | ) |
Get the object of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 88 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::toObject | ( | ) |
Export the notification event into a serializable object This method is mainly used for logging purposes.
Definition at line 124 of file InstantNotificationEvent.php.
|
protected |
Definition at line 22 of file InstantNotificationEvent.php.
|
protected |
Definition at line 32 of file InstantNotificationEvent.php.
|
protected |
Definition at line 27 of file InstantNotificationEvent.php.
const Elgg\Notifications\InstantNotificationEvent::DEFAULT_ACTION_NAME = 'notify_user' |
Definition at line 17 of file InstantNotificationEvent.php.