Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $widget = $vars['widget']
 Elgg widget edit settings. More...
 
 $show_access = elgg_extract('show_access', $vars, true)
 
 $edit_view = "widgets/$widget->handler/edit"
 
 $custom_form_section = elgg_view($edit_view, array('entity' => $widget))
 
 $access = ''
 
if($show_access) if(!$custom_form_section
&&!$access) 
$hidden = elgg_view('input/hidden', array('name' => 'guid', 'value' => $widget->guid))
 
 $submit = elgg_view('input/submit', array('value' => elgg_echo('save')))
 
 $body
 

Variable Documentation

$access = ''

Definition at line 15 of file save.php.

$body
Initial value:
= <<<___END
<div>
</div>
<div class="elgg-foot">
</div>
___END
$custom_form_section
Definition: save.php:13
$submit
Definition: save.php:12
$hidden
Definition: save.php:13
$access
Definition: save.php:15

Definition at line 30 of file save.php.

$custom_form_section = elgg_view($edit_view, array('entity' => $widget))

Definition at line 13 of file save.php.

$edit_view = "widgets/$widget->handler/edit"

Definition at line 12 of file save.php.

if ($show_access) if (!$custom_form_section &&!$access) $hidden = elgg_view('input/hidden', array('name' => 'guid', 'value' => $widget->guid))

Definition at line 27 of file save.php.

$show_access = elgg_extract('show_access', $vars, true)

Definition at line 10 of file save.php.

$submit = elgg_view('input/submit', array('value' => elgg_echo('save')))

Definition at line 28 of file save.php.

$widget = $vars['widget']

Elgg widget edit settings.

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

Definition at line 9 of file save.php.