47 _elgg_services()->deprecation->sendNotice(__CLASS__ .
' is deprecated. ' 87 return $this->actor ? $this->actor->guid : 0;
118 return implode(
':', [
120 $this->object->getType(),
121 $this->
object->getSubtype(),
133 $vars = get_object_vars($this);
135 if (is_object(
$value) && is_callable([
$value,
'toObject'])) {
136 $obj->$key =
$value->toObject();
if(!$item instanceof ElggRiverItem) $object
__construct(ElggData $object, $action, ElggEntity $actor=null)
Create a notification event.
getAction()
Get the name of the action.
getActorGUID()
Get the GUID of the actor.
Models an event passed to event handlers.
toObject()
Export the notification event into a serializable object This method is mainly used for logging purpo...
getActor()
Get the actor of the event.
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
getDescription()
Get a description of the event.
_elgg_services()
Get the global service provider.
getObject()
Get the object of the event.