Elgg  Version 1.9
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

$context = get_input('context')

Definition at line 23 of file save.php.

◆ $default_widgets

$default_widgets = get_input('default_widgets', 0)

Definition at line 22 of file save.php.

◆ $guid

$guid = get_input('guid')

Definition at line 20 of file save.php.

◆ $params

$params = get_input('params')

Definition at line 21 of file save.php.

◆ $title

◆ $widget

$widget = get_entity($guid)

Definition at line 26 of file save.php.

◆ else

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

Definition at line 47 of file save.php.