Definition at line 9 of file Event.php.
Elgg_Notifications_Event::__construct |
( |
ElggData |
$object, |
|
|
|
$action, |
|
|
ElggUser |
$actor = null |
|
) |
| |
Create a notification event.
- Parameters
-
ElggData | $object | The object of the event (ElggEntity) |
string | $action | The name of the action (default: create) |
ElggUser | $actor | The user that caused the event (default: logged in user) |
- Exceptions
-
Definition at line 34 of file Event.php.
Elgg_Notifications_Event::getAction |
( |
| ) |
|
Get the name of the action.
- Returns
- string
Definition at line 100 of file Event.php.
Elgg_Notifications_Event::getActor |
( |
| ) |
|
Elgg_Notifications_Event::getActorGUID |
( |
| ) |
|
Get the GUID of the actor.
- Returns
- int
Definition at line 68 of file Event.php.
Elgg_Notifications_Event::getDescription |
( |
| ) |
|
Get a description of the event.
- Returns
- string
Definition at line 109 of file Event.php.
Elgg_Notifications_Event::getObject |
( |
| ) |
|
Elgg_Notifications_Event::$action |
|
protected |
Elgg_Notifications_Event::$actor_guid |
|
protected |
Elgg_Notifications_Event::$object_id |
|
protected |
Elgg_Notifications_Event::$object_subtype |
|
protected |
Elgg_Notifications_Event::$object_type |
|
protected |
The documentation for this class was generated from the following file: