Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
save.php
Go to the documentation of this file.
1 <?php
9 elgg_make_sticky_form('usersettings');
10 
11 // callbacks should return false to indicate that the sticky form should not be cleared
12 if (elgg_trigger_plugin_hook('usersettings:save', 'user', null, true)) {
13  elgg_clear_sticky_form('usersettings');
14 }
15 
const REFERER
Definition: elgglib.php:2029
elgg_make_sticky_form($form_name)
Save form submission data (all GET and POST vars) into a session cache.
Definition: input.php:103
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Definition: elgglib.php:801
forward($location="", $reason= 'system')
Forward to $location.
Definition: elgglib.php:93
elgg_clear_sticky_form($form_name)
Remove form submission data from the session.
Definition: input.php:119