Definition at line 9 of file Event.php.
Elgg\Notifications\Event::__construct |
( |
\ElggData |
$object, |
|
|
|
$action, |
|
|
\ElggEntity |
$actor = null |
|
) |
| |
Create a notification event.
- Parameters
-
\ElggData | $object | The object of the event () |
string | $action | The name of the action (default: create) |
\ElggEntity | $actor | The entity that caused the event (default: logged in user) |
- Exceptions
-
Definition at line 35 of file Event.php.
Elgg\Notifications\Event::getAction |
( |
| ) |
|
Get the name of the action.
- Returns
- string
Definition at line 101 of file Event.php.
Elgg\Notifications\Event::getActor |
( |
| ) |
|
Get the actor of the event.
- Returns
- |false
Definition at line 60 of file Event.php.
Elgg\Notifications\Event::getActorGUID |
( |
| ) |
|
Get the GUID of the actor.
- Returns
- int
Definition at line 69 of file Event.php.
Elgg\Notifications\Event::getDescription |
( |
| ) |
|
Get a description of the event.
- Returns
- string
Definition at line 110 of file Event.php.
Elgg\Notifications\Event::getObject |
( |
| ) |
|
Get the object of the event.
- Returns
Definition at line 78 of file Event.php.
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: