Elgg  Version 1.9
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 
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Trigger a Plugin Hook and run all handler callbacks registered to that hook:type.
Definition: elgglib.php:925
const REFERER
Definition: elgglib.php:2162
forward($location="", $reason='system')
Forward to $location.
Definition: elgglib.php:79
elgg_make_sticky_form($form_name)
Load all the GET and POST variables into the sticky form cache.
Definition: input.php:144
elgg_clear_sticky_form($form_name)
Clear the sticky form cache.
Definition: input.php:171