Elgg  Version master
Variables
records.php File Reference

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'
 

Variable Documentation

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['purpose'] = 'default'

Definition at line 23 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

$vars['entity'] the user to set the setings for

Definition at line 10 of file records.php.