Elgg  Version 5.1
Variables
edit_comment.php File Reference

Go to the source code of this file.

Variables

 $guid = (int) get_input('guid')
 Elgg ajax edit comment form. More...
 
 $comment = get_entity($guid)
 
if(!$comment instanceof ElggComment||!$comment->canEdit()) $entity = $comment->getContainerEntity()
 
 $form_vars
 
 $body_vars
 

Variable Documentation

$body_vars
Initial value:
= [
'comment' => $comment
$comment
Definition: edit_comment.php:8
Examples:
/root/Elgg/engine/classes/Elgg/FormsService.php, and /root/Elgg/engine/lib/views.php.

Definition at line 20 of file edit_comment.php.

$comment = get_entity($guid)

Definition at line 8 of file edit_comment.php.

if (!$comment instanceof ElggComment||!$comment->canEdit()) $entity = $comment->getContainerEntity()

Definition at line 13 of file edit_comment.php.

$form_vars
Initial value:
= [
'class' => 'hidden mvl'

Definition at line 16 of file edit_comment.php.

$guid = (int) get_input('guid')

Elgg ajax edit comment form.

Definition at line 6 of file edit_comment.php.