Elgg
Version 6.1
|
Subscription notification event. More...
Public Member Functions | |
__construct (\ElggData $object, string $action,\ElggEntity $actor=null) | |
Create a notification event. 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... | |
Protected Attributes | |
$action | |
$object | |
$actor | |
Subscription notification event.
Definition at line 14 of file SubscriptionNotificationEvent.php.
Elgg\Notifications\SubscriptionNotificationEvent::__construct | ( | \ElggData | $object, |
string | $action, | ||
\ElggEntity | $actor = null |
||
) |
Create a notification event.
\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) |
InvalidArgumentException |
Definition at line 42 of file SubscriptionNotificationEvent.php.
Elgg\Notifications\SubscriptionNotificationEvent::getAction | ( | ) |
Get the name of the action.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 101 of file SubscriptionNotificationEvent.php.
Elgg\Notifications\SubscriptionNotificationEvent::getActor | ( | ) |
Get the actor of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 66 of file SubscriptionNotificationEvent.php.
Elgg\Notifications\SubscriptionNotificationEvent::getActorGUID | ( | ) |
Get the GUID of the actor.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 79 of file SubscriptionNotificationEvent.php.
Elgg\Notifications\SubscriptionNotificationEvent::getDescription | ( | ) |
Get a description of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 110 of file SubscriptionNotificationEvent.php.
Elgg\Notifications\SubscriptionNotificationEvent::getObject | ( | ) |
Get the object of the event.
Implements Elgg\Notifications\NotificationEvent.
Definition at line 92 of file SubscriptionNotificationEvent.php.
Elgg\Notifications\SubscriptionNotificationEvent::toObject | ( | ) |
Export the notification event into a serializable object This method is mainly used for logging purposes.
Definition at line 124 of file SubscriptionNotificationEvent.php.
|
protected |
Definition at line 21 of file SubscriptionNotificationEvent.php.
|
protected |
Definition at line 31 of file SubscriptionNotificationEvent.php.
|
protected |
Definition at line 26 of file SubscriptionNotificationEvent.php.