Elgg  Version 2.3
Namespaces | Variables
delete.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $comment_guid = get_input('guid')
 
 $comment = get_entity($comment_guid)
 
if(elgg_instanceof($comment, 'object', 'comment') && $comment->canEdit()) else
 

Variable Documentation

◆ $comment

$comment = get_entity($comment_guid)

Definition at line 10 of file delete.php.

◆ $comment_guid

$comment_guid = get_input('guid')

Definition at line 9 of file delete.php.

◆ else

if (elgg_instanceof( $comment, 'object', 'comment') &&$comment->canEdit()) else
Initial value:
{
register_error(elgg_echo('generic_comment:notfound'))
register_error($error)
Display an error on next page load.
Definition: elgglib.php:464
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 18 of file delete.php.