Elgg  Version 1.9
Namespaces | Variables
edit_comment.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $guid = get_input('guid')
 
 $comment = get_entity($guid)
 
 $entity = $comment->getContainerEntity()
 
if(!elgg_instanceof($comment, 'object', 'comment')||!$comment->canEdit()) $form_vars
 
 $body_vars = array('comment' => $comment)
 

Variable Documentation

$body_vars = array('comment' => $comment)
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 23 of file edit_comment.php.

$comment = get_entity($guid)

Definition at line 11 of file edit_comment.php.

$entity = $comment->getContainerEntity()

Definition at line 12 of file edit_comment.php.

if (!elgg_instanceof($comment, 'object', 'comment')||!$comment->canEdit()) $form_vars
Initial value:
= array(
'class' => 'hidden mvl',
'id' => "edit-comment-{$guid}",
)
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 19 of file edit_comment.php.

$guid = get_input('guid')

Definition at line 9 of file edit_comment.php.