Elgg  Version 2.3
Variables
edit.php File Reference

Go to the source code of this file.

Variables

 $guid = elgg_extract('guid', $vars)
 
if(!$guid) $comment = get_entity($guid)
 
if(!($comment instanceof\ElggComment)||!$comment->canEdit()) $target = $comment->getContainerEntity()
 
if(!($target instanceof\ElggEntity)) $title = elgg_echo('generic_comments:edit')
 
 $params
 
 $content = elgg_view_form('comment/save', null, $params)
 
 $body = elgg_view_layout('content', $params)
 

Variable Documentation

$body = elgg_view_layout('content', $params)

Definition at line 38 of file edit.php.

if (!$guid) $comment = get_entity($guid)

Definition at line 11 of file edit.php.

$content = elgg_view_form('comment/save', null, $params)

Definition at line 31 of file edit.php.

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

Definition at line 3 of file edit.php.

$params
Initial value:
= array(
'entity' => $target,
'comment' => $comment,
)
if(!$guid) $comment
Definition: edit.php:11
if(!($comment instanceof\ElggComment)||!$comment->canEdit()) $target
Definition: edit.php:17

Definition at line 27 of file edit.php.

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

Definition at line 17 of file edit.php.

if (!($target instanceof\ElggEntity)) $title = elgg_echo('generic_comments:edit')

Definition at line 23 of file edit.php.