Elgg  Version 2.3
Variables
delete.php File Reference

Go to the source code of this file.

Variables

 $guid = get_input('guid')
 Default entity delete action. More...
 
 $entity = get_entity($guid)
 
 $display_name = $entity->getDisplayName()
 
if(! $display_name) $type = $entity->getType()
 
 $subtype = $entity->getSubtype()
 
 $container = $entity->getContainerEntity()
 
if(! $entity->delete()) $forward_url = elgg_normalize_site_url(get_input('forward_url'))
 
if(! $forward_url) $success_keys
 

Variable Documentation

◆ $container

$container = $entity->getContainerEntity()

Definition at line 29 of file delete.php.

◆ $display_name

$display_name = $entity->getDisplayName()

Definition at line 22 of file delete.php.

◆ $entity

$entity = get_entity($guid)
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 7 of file delete.php.

◆ $forward_url

if (! $entity->delete()) $forward_url = elgg_normalize_site_url(get_input('forward_url'))

Definition at line 37 of file delete.php.

◆ $guid

$guid = get_input('guid')

Default entity delete action.

Definition at line 6 of file delete.php.

◆ $subtype

$subtype = $entity->getSubtype()
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 28 of file delete.php.

◆ $success_keys

if (! $forward_url) $success_keys
Initial value:
= array(
"entity:delete:$type:$subtype:success",
"entity:delete:$type:success",
"entity:delete:success",
)

Definition at line 54 of file delete.php.

◆ $type

if (! $display_name) $type = $entity->getType()
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 27 of file delete.php.