Elgg  Version 3.0
Namespaces | Variables
edit_comment.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Configuration exception.
 

Variables

 $guid = get_input('guid')
 
 $comment = get_entity($guid)
 
 $entity = $comment->getContainerEntity()
 
if(!($comment instanceof ElggComment)||!$comment->canEdit()) $form_vars
 
if(!($comment instanceof ElggComment)||!$comment->canEdit()) $body_vars
 

Variable Documentation

if (!($comment instanceof ElggComment)||!$comment->canEdit()) $body_vars
Initial value:
= [
'comment' => $comment
$comment
Examples:
/root/Elgg/engine/classes/Elgg/FormsService.php, and /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 (!($comment instanceof ElggComment)||!$comment->canEdit()) $form_vars
Initial value:
= [
'class' => 'hidden mvl'

Definition at line 19 of file edit_comment.php.

$guid = get_input('guid')

Definition at line 9 of file edit_comment.php.