Elgg
Version 2.3
|
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) | |
$body = elgg_view_layout('content', $params) |
if (! $guid) $comment = get_entity($guid) |
$content = elgg_view_form('comment/save', null, $params) |
$guid = elgg_extract('guid', $vars) |
$params |
if (!( $comment instanceof \ElggComment)||! $comment->canEdit()) $target = $comment->getContainerEntity() |