Elgg  Version 1.11
Namespaces | Variables
save.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

if(!elgg_is_logged_in()) $entity = elgg_extract('entity', $vars)
 
 $comment = elgg_extract('comment', $vars)
 
 $inline = elgg_extract('inline', $vars, false)
 
 $is_edit_page = elgg_extract('is_edit_page', $vars, false)
 
 $entity_guid_input = ''
 
if($entity$comment_text = ''
 
 $comment_guid_input = ''
 
if($comment &&$comment->canEdit()) else
 
 $submit_input = elgg_view('input/submit', array('value' => elgg_echo('comment')))
 
 $cancel_button = ''
 
 $is_edit_page_input
 

Variable Documentation

$cancel_button = ''

Definition at line 49 of file save.php.

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

Definition at line 20 of file save.php.

$comment_guid_input = ''

Definition at line 35 of file save.php.

if ($entity) $comment_text = ''

Definition at line 34 of file save.php.

Definition at line 17 of file save.php.

$entity_guid_input = ''

Definition at line 26 of file save.php.

$inline = elgg_extract('inline', $vars, false)

Definition at line 23 of file save.php.

$is_edit_page = elgg_extract('is_edit_page', $vars, false)

Definition at line 24 of file save.php.

$is_edit_page_input
Initial value:
= elgg_view('input/hidden', array(
'name' => 'is_edit_page',
'value' => (int)$is_edit_page,
))
$is_edit_page
Definition: save.php:12
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354

Definition at line 72 of file save.php.

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

Definition at line 46 of file save.php.

if ($comment) if ($inline) else
Initial value:
{
$comment_label = elgg_echo("generic_comments:add")
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 44 of file save.php.