Elgg
Version 6.2
|
Go to the source code of this file.
Variables | |
$user = elgg_extract('entity', $vars) | |
Show the different notification settings / preferences for the given user. More... | |
if(! $user instanceof \ElggUser) | $methods = elgg_get_notification_methods() |
if(empty($methods)) | $params = $vars |
$params ['description'] = elgg_echo('usersettings:notifications:default:description') | |
$params ['purpose'] = 'default' | |
$params ['description'] = elgg_echo('usersettings:notifications:content_create:description') | |
$params ['purpose'] = 'content_create' | |
$params ['description'] = elgg_echo('usersettings:notifications:create_comment:description') | |
$params ['purpose'] = 'create_comment' | |
$params ['description'] = elgg_echo('usersettings:notifications:mentions:description') | |
$params ['purpose'] = 'mentions' | |
if (! $user instanceof \ElggUser) $methods = elgg_get_notification_methods() |
Definition at line 15 of file records.php.
$params = $vars |
Definition at line 21 of file records.php.
$params[ 'description'] = elgg_echo('usersettings:notifications:default:description') |
Definition at line 22 of file records.php.
$params[ 'description'] = elgg_echo('usersettings:notifications:content_create:description') |
Definition at line 29 of file records.php.
$params[ 'description'] = elgg_echo('usersettings:notifications:create_comment:description') |
Definition at line 36 of file records.php.
$params[ 'description'] = elgg_echo('usersettings:notifications:mentions:description') |
Definition at line 43 of file records.php.
$params[ 'purpose'] = 'default' |
Definition at line 23 of file records.php.
$params[ 'purpose'] = 'content_create' |
Definition at line 30 of file records.php.
$params[ 'purpose'] = 'create_comment' |
Definition at line 37 of file records.php.
$params[ 'purpose'] = 'mentions' |
Definition at line 44 of file records.php.
$user = elgg_extract('entity', $vars) |
Show the different notification settings / preferences for the given user.
For correct rendering and generic handling of the saving of the settings use the 'notifications/settings/record' view
@uses $vars['entity'] the user to set the setings for
Definition at line 10 of file records.php.