36 $this->object_type =
$object->getType();
37 $this->object_subtype =
$object->getSubtype();
38 $this->object_id =
$object->getGUID();
40 $this->object_type =
$object->getType();
41 $this->object_subtype =
$object->getSubtype();
48 $this->actor_guid = $actor->getGUID();
78 switch ($this->object_type) {
110 return "{$this->action}:{$this->object_type}:{$this->object_subtype}";
elgg_get_annotation_from_id($id)
Get a specific annotation by its id.
getActor()
Get the actor of the event.
getActorGUID()
Get the GUID of the actor.
getAction()
Get the name of the action.
__construct(ElggData $object, $action, ElggUser $actor=null)
Create a notification event.
getDescription()
Get a description of the event.
getObject()
Get the object of the event.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an ElggEntity and optionally for type and subtype.
get_entity($guid)
Loads and returns an entity object from a guid.
get_relationship($id)
Get a relationship by its ID.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.
elgg button elgg button action