Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
save.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $guid = get_input('guid')
 
 $params = get_input('params')
 
 $default_widgets = get_input('default_widgets', 0)
 
 $context = get_input('context')
 
 $title = get_input('title')
 
 $widget = get_entity($guid)
 
if($widget &&$widget->
saveSettings($params)) 
else
 

Variable Documentation

$context = get_input('context')

Definition at line 21 of file save.php.

$default_widgets = get_input('default_widgets', 0)

Definition at line 20 of file save.php.

$guid = get_input('guid')

Definition at line 18 of file save.php.

$params = get_input('params')

Definition at line 19 of file save.php.

$title = get_input('title')

Definition at line 22 of file save.php.

$widget = get_entity($guid)

Definition at line 29 of file save.php.

if ($widget &&$widget->saveSettings($params)) else
Initial value:
{
register_error(elgg_echo('widgets:save:failure'))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
register_error($error)
Display an error on next page load.
Definition: elgglib.php:452

Definition at line 47 of file save.php.