Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Notifications
EnqueueEventHandler.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Notifications
;
4
10
class
EnqueueEventHandler
{
11
24
public
function
__invoke
(\
Elgg
\
Event
$event) {
25
$object
= $event->getObject();
26
if
(!
$object
instanceof \
ElggData
) {
27
return
;
28
}
29
30
_elgg_services
()->notifications->enqueueEvent($event->getName(),
$object
);
31
}
32
}
Elgg\Notifications\EnqueueEventHandler
Enqueue notification event.
Definition:
EnqueueEventHandler.php:10
Elgg\Notifications\EnqueueEventHandler\__invoke
__invoke(\Elgg\Event $event)
Queue a notification event for later handling.
Definition:
EnqueueEventHandler.php:24
Elgg
Definition:
ActionsService.php:3
ElggData
A generic class that contains shared code among , , and .
Definition:
ElggData.php:10
Elgg\Notifications
Definition:
CreateCommentEventHandler.php:3
$object
if($email instanceof\Elgg\Email) $object
Definition:
body.php:24
_elgg_services
_elgg_services()
Get the global service provider.
Definition:
elgglib.php:353
Elgg\Event
Models an event passed to event handlers.
Definition:
Event.php:11
Generated on Wed Dec 4 2024 00:00:21 for Elgg by
1.8.11