Go to the source code of this file.
$comment_guid = (int) get_input('comment_guid', 0, false) |
$entity_guid = (int) get_input('entity_guid', 0, false) |
Action for adding and editing comments.
Definition at line 6 of file save.php.
if (!empty($_SERVER['HTTP_REFERER'])) $result |
Initial value:
Definition at line 87 of file save.php.
if (!$comment->save()) if ($comment->getLevel()===1) $success_message = elgg_echo('generic_comment:posted') |
$comment access_id = $entity->access_id |
number container_guid = $entity->guid |
$comment description = $comment_text |
if (empty($comment_text)) if ($comment_guid) else |
Initial value:{
get_entity($guid)
Loads and returns an entity object from a guid.
Definition at line 31 of file save.php.