Elgg  Version 6.3
Functions
deprecated-6.3.php File Reference

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...
 

Function Documentation

◆ elgg_dump()

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.

Note
Use the developers plugin to display logs
Parameters
mixed$valueThe value
Returns
void
Since
1.7.0

Definition at line 19 of file deprecated-6.3.php.

◆ notify_user()

notify_user ( int|array  $to,
int  $from = 0,
string  $subject = '',
string  $message = '',
array  $params = [],
  $methods_override = null 
)

Notify a user via their preferences.

Parameters
mixed$toEither a guid or an array of guid's to notify.
int$fromGUID of the sender, which may be a user, site or object.
string$subjectMessage subject.
string$messageMessage body.
array$paramsMisc 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_overrideA string, or an array of strings specifying the delivery methods to use - or leave blank for delivery using the user's chosen delivery methods.
Returns
array Compound array of each delivery user/delivery method's success or failure.

Definition at line 50 of file deprecated-6.3.php.