Elgg
Version master
|
Go to the source code of this file.
Variables | |
$guid = (int) get_input('guid') | |
Default entity delete action. More... | |
$entity | |
if(!$entity instanceof\ElggEntity) if(!$entity->canDelete()||$entity instanceof\ElggPlugin||$entity instanceof\ElggSite||$entity instanceof\ElggUser) | $display_name = $entity->getDisplayName() ?: elgg_echo('entity:delete:item') |
$type = $entity->getType() | |
$subtype = $entity->getSubtype() | |
$container = $entity->getContainerEntity() | |
if(!$entity->delete(true, true)) | $forward_url = get_input('forward_url') |
if(!empty($forward_url)) if(empty($forward_url)) | $success_keys |
$message = '' | |
$container = $entity->getContainerEntity() |
Definition at line 23 of file delete.php.
if (!$entity instanceof\ElggEntity) if (!$entity->canDelete()||$entity instanceof\ElggPlugin||$entity instanceof\ElggSite||$entity instanceof\ElggUser) $display_name = $entity->getDisplayName() ?: elgg_echo('entity:delete:item') |
Definition at line 19 of file delete.php.
$entity |
Definition at line 7 of file delete.php.
Definition at line 30 of file delete.php.
$guid = (int) get_input('guid') |
Default entity delete action.
Definition at line 6 of file delete.php.
$message = '' |
Definition at line 86 of file delete.php.
$subtype = $entity->getSubtype() |
Definition at line 22 of file delete.php.
Definition at line 80 of file delete.php.
$type = $entity->getType() |
Definition at line 21 of file delete.php.