Elgg  Version 4.3
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('widget', $vars)
 Elgg widget edit settings. More...
 
if(!$widget instanceof ElggWidget$custom_form_section = ''
 
if(elgg_view_exists("widgets/{$widget->handler}/edit")) $access = ''
 
if(elgg_extract('show_access', $vars, true)) if (!$custom_form_section &&!$access)
 
if(elgg_in_context('default_widgets')) $footer
 

Variable Documentation

if (elgg_view_exists("widgets/{$widget->handler}/edit")) $access = ''

Definition at line 19 of file save.php.

if (!$widget instanceof ElggWidget) $custom_form_section = ''

Definition at line 14 of file save.php.

if (elgg_in_context('default_widgets')) $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 51 of file save.php.

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

Elgg widget edit settings.

$vars['widget'] $vars['show_access']

Definition at line 9 of file save.php.

if (elgg_extract('show_access', $vars, true)) if(!$custom_form_section &&!$access)

Definition at line 30 of file save.php.