29 $params[
'description'] =
elgg_echo(
'usersettings:notifications:content_create:description');
30 $params[
'purpose'] =
'content_create';
36 $params[
'description'] =
elgg_echo(
'usersettings:notifications:create_comment:description');
37 $params[
'purpose'] =
'create_comment';
43 $params[
'description'] =
elgg_echo(
'usersettings:notifications:mentions:description');
44 $params[
'purpose'] =
'mentions';
50 $params[
'description'] =
elgg_echo(
'usersettings:notifications:admin_validation_notification:description');
51 $params[
'purpose'] =
'admin_validation_notification';
$user
Show the different notification settings / preferences for the given user.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
if(empty($methods)) $params
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
if(!$user instanceof\ElggUser) $methods
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_get_notification_methods()
Returns registered delivery methods for notifications [ 'email' => 'email', 'sms' => 'sms'...