Elgg  Version 4.3
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $plugin = elgg_extract('entity', $vars)
 Used to show plugin settings for both users and admins. More...
 
 $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') $settings = ''
 
if(elgg_view_exists("plugins/{$plugin_id}/{$type}settings")) if (empty($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:1143
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18

Definition at line 39 of file save.php.

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

Used to show plugin settings for both users and admins.

Definition at line 6 of file save.php.

$plugin_id = $plugin->getID()

Definition at line 7 of file save.php.

if ($type!= 'user') $settings = ''

Definition at line 16 of file save.php.

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

Definition at line 11 of file save.php.

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

Definition at line 8 of file save.php.

if (elgg_view_exists("plugins/{$plugin_id}/{$type}settings")) if(empty($settings))

Definition at line 21 of file save.php.