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

 $plugin = $vars['entity']
 
 $plugin_id = $plugin->getID()
 
 $user_guid = elgg_extract('user_guid', $vars, elgg_get_logged_in_user_guid())
 
 $type = elgg_extract('type', $vars, '')
 
if($type!= 'user') if(elgg_view_exists("plugins/$plugin_id/{$type}settings")) else
 

Variable Documentation

$plugin = $vars['entity']

Definition at line 9 of file save.php.

$plugin_id = $plugin->getID()

Definition at line 10 of file save.php.

$type = elgg_extract('type', $vars, '')

Definition at line 14 of file save.php.

$user_guid = elgg_extract('user_guid', $vars, elgg_get_logged_in_user_guid())

Definition at line 11 of file save.php.

if ($type!= 'user') if (elgg_view_exists("plugins/$plugin_id/{$type}settings")) else
Initial value:
{
echo elgg_view_deprecated("{$type}settings/$plugin_id/edit", $vars, "Use the view plugins/$plugin_id/{$type}settings", 1.8)
elgg_view_deprecated($view, array $vars, $suggestion, $version)
Display a view with a deprecation notice.
Definition: views.php:371
elgg echo
Translates a string.
Definition: languages.js:43
$vars['type']
Definition: save.php:11

Definition at line 22 of file save.php.