Elgg
Version 2.3
|
Instant notification event. More...
Public Member Functions | |
__construct (ElggData $object=null, $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 , |
$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 37 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getAction | ( | ) |
Get the name of the action.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 93 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getActor | ( | ) |
Get the actor of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 58 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getActorGUID | ( | ) |
Get the GUID of the actor.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 71 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getDescription | ( | ) |
Get a description of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 102 of file InstantNotificationEvent.php.
Elgg\Notifications\InstantNotificationEvent::getObject | ( | ) |
Get the object of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 84 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 120 of file InstantNotificationEvent.php.
|
protected |
Definition at line 22 of file InstantNotificationEvent.php.
|
protected |
Definition at line 28 of file InstantNotificationEvent.php.
|
protected |
Definition at line 25 of file InstantNotificationEvent.php.
const Elgg\Notifications\InstantNotificationEvent::DEFAULT_ACTION_NAME = 'notify_user' |
Definition at line 18 of file InstantNotificationEvent.php.