Elgg  Version 1.9
Namespaces | Variables
delete.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $guid = get_input('guid')
 
 $user = get_entity($guid)
 
if($guid==elgg_get_logged_in_user_guid()) $name = $user->name
 
 $username = $user->username
 
if(($user instanceof ElggUser)&&($user->canEdit())) else
 
 $forward = REFERER
 

Variable Documentation

Definition at line 35 of file delete.php.

$guid = get_input('guid')

Definition at line 13 of file delete.php.

if ($guid==elgg_get_logged_in_user_guid()) $name = $user->name
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 21 of file delete.php.

$user = get_entity($guid)

Definition at line 14 of file delete.php.

$username = $user->username

Definition at line 22 of file delete.php.

if (($user instanceof ElggUser)&&($user->canEdit())) else
Initial value:
{
register_error(elgg_echo('admin:user:delete:no'))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg register_error
Wrapper function for system_messages.
Definition: elgglib.js:383

Definition at line 30 of file delete.php.