Elgg  Version 3.0
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$show_access = elgg_extract('show_access', $vars, true)
 
 $custom_form_section = elgg_view("widgets/$widget->handler/edit", ['entity' => $widget])
 
 $access = ''
 
if($show_access) if (!$custom_form_section &&!$access)
 
if(elgg_in_context('default_widgets')) $footer
 

Variable Documentation

$access = ''

Definition at line 18 of file save.php.

$custom_form_section = elgg_view("widgets/$widget->handler/edit", ['entity' => $widget])

Definition at line 16 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: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 50 of file save.php.

if (!$widget instanceof ElggWidget) $show_access = elgg_extract('show_access', $vars, true)

Definition at line 14 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 ($show_access) if(!$custom_form_section &&!$access)

Definition at line 29 of file save.php.