72 return $this->actor ? $this->actor->guid : 0;
103 if (!$this->
object) {
107 return implode(
':', [
109 $this->object->getType(),
110 $this->
object->getSubtype(),
122 $vars = get_object_vars($this);
124 if (is_object(
$value) && is_callable([
$value,
'toObject'])) {
125 $obj->$key =
$value->toObject();
getAction()
Get the name of the action.
toObject()
Export the notification event into a serializable object This method is mainly used for logging purpo...
getActor()
Get the actor of the event.
getObject()
Get the object of the event.
Instant notification event.
getActorGUID()
Get the GUID of the actor.
const DEFAULT_ACTION_NAME
getDescription()
Get a description of the event.
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
__construct(ElggData $object=null, $action=null, ElggEntity $actor=null)
Constructor.
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use