Elgg  Version 1.11
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 23 of file save.php.

$default_widgets = get_input('default_widgets', 0)

Definition at line 22 of file save.php.

$guid = get_input('guid')

Definition at line 20 of file save.php.

$params = get_input('params')

Definition at line 21 of file save.php.

Examples:
/root/Elgg/engine/lib/output.php, and /root/Elgg/engine/lib/views.php.

Definition at line 24 of file save.php.

$widget = get_entity($guid)

Definition at line 26 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
elgg register_error
Wrapper function for system_messages.
Definition: elgglib.js:383

Definition at line 47 of file save.php.