Elgg  Version 3.0
Namespaces | Variables
save.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Updates the advanced settings for the primary site object.
 

Variables

 $plugin = elgg_extract('entity', $vars)
 
 $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"))
 
 $footer
 

Variable Documentation

$footer
Initial value:
'#type' => 'submit',
'value' => elgg_echo('save'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1395
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 36 of file save.php.

$plugin = elgg_extract('entity', $vars)

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"))

Definition at line 20 of file save.php.