Elgg
Version 6.3
|
Go to the source code of this file.
Functions | |
elgg_dump ($value) | |
Bundle all functions that have been deprecated in Elgg 6.3. More... | |
notify_user (int|array $to, int $from=0, string $subject='', string $message='', array $params=[], $methods_override=null) | |
Notify a user via their preferences. More... | |
elgg_dump | ( | $value | ) |
Bundle all functions that have been deprecated in Elgg 6.3.
Logs $value to PHP's error_log()
A 'debug', log' event is triggered. If a handler returns false, it will stop the default logging method.
mixed | $value | The value |
Definition at line 19 of file deprecated-6.3.php.
notify_user | ( | int|array | $to, |
int | $from = 0 , |
||
string | $subject = '' , |
||
string | $message = '' , |
||
array | $params = [] , |
||
$methods_override = null |
|||
) |
Notify a user via their preferences.
mixed | $to | Either a guid or an array of guid's to notify. |
int | $from | GUID of the sender, which may be a user, site or object. |
string | $subject | Message subject. |
string | $message | Message body. |
array | $params | Misc additional parameters specific to various methods. By default Elgg core supports three parameters, which give notification plugins more control over the notifications: object => null|\ElggEntity|\ElggAnnotation The object that is triggering the notification. action => null|string Word that describes the action that is triggering the notification (e.g. "create" or "update"). summary => null|string Summary that notification plugins can use alongside the notification title and body. |
mixed | $methods_override | A string, or an array of strings specifying the delivery methods to use - or leave blank for delivery using the user's chosen delivery methods. |
Definition at line 50 of file deprecated-6.3.php.