205 $params[
'methods_override'] = $methods_override;
219 foreach ($to as
$guid) {
$params
Saves global plugin settings.
if(!$user||!$user->canDelete()) $name
elgg_enqueue_notification_event(string $action,\ElggData $object,\ElggEntity $actor=null)
Enqueue a notification event for delivery.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
elgg_unregister_notification_method(string $name)
Unregister a delivery method for notifications.
Notifications This file contains classes and functions which allow plugins to register and send notif...
elgg_get_subscriptions_for_container(int $container_guid)
Get the subscriptions for the content created inside this container.
get_entity(int $guid)
Loads and returns an entity object from a guid.
elgg_register_notification_event(string $object_type, string $object_subtype, array $actions=[], string $handler=NotificationEventHandler::class)
Register a notification event.
if(!$menu instanceof\Elgg\Menu\PreparedMenu) $actions
elgg_send_email(\Elgg\Email $email)
Send an email to any email address.
elgg_get_site_entity()
Get the current site entity.
A generic class that contains shared code among , , and .
if($email instanceof\Elgg\Email) $object
elgg_register_notification_method(string $name)
Register a delivery method for notifications.
notify_user(int|array $to, int $from=0, string $subject= '', string $message= '', array $params=[], $methods_override=null)
Notify a user via their preferences.
_elgg_services()
Get the global service provider.
elgg_get_notification_methods()
Returns registered delivery methods for notifications [ 'email' => 'email', 'sms' => 'sms'...
elgg_unregister_notification_event(string $object_type, string $object_subtype, array $actions=[])
Unregister a notification event.
$guid
Reset an ElggUpgrade.
elgg_get_notification_events()
Get the registered notification events in the format.