Elgg  Version 3.0
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $guid = $request->getParam('guid')
 Aggregate action for saving settings. More...
 
if(isset($guid)) else
 
 $hooks_params
 
if(elgg_trigger_plugin_hook('usersettings:save', 'user', $hooks_params, true)) foreach($request->validation() ->all() as $item) $data
 

Variable Documentation

if (elgg_trigger_plugin_hook('usersettings:save', 'user', $hooks_params, true)) foreach ($request->validation() ->all() as $item) $data
Initial value:
= [
'user' => $user
if(!$entity) $user
Definition: save.php:41
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 57 of file save.php.

$guid = $request->getParam('guid')

Aggregate action for saving settings.

To see the individual action methods, enable the developers plugin, visit Admin > Inspect > Plugin Hooks and search for "usersettings:save". The default methods are listed below:

See also
_elgg_set_user_language
_elgg_set_user_password
_elgg_set_user_default_access
_elgg_set_user_name
_elgg_set_user_username
_elgg_set_user_email

Definition at line 18 of file save.php.

$hooks_params
Initial value:
= [
'user' => $user
if(!$entity) $user
Definition: save.php:41

Definition at line 35 of file save.php.

if (isset($guid)) else
Initial value:
{
if(!$entity) $user
Definition: save.php:41
elgg_get_logged_in_user_entity()
Return the current logged in user, or null if no user is logged in.
Definition: sessions.php:29

Definition at line 21 of file save.php.