Elgg
Version 6.0
|
Go to the source code of this file.
Variables | |
$guid = (int) get_input('guid') | |
Default entity restore action. More... | |
$entity | |
if(!$entity instanceof\ElggEntity||!$entity->isDeleted()) if(!$entity->canEdit()) | $display_name = $entity->getDisplayName() ?: elgg_echo('entity:restore:item') |
if(!$entity->restore()) | $success_keys |
$message = '' | |
if (!$entity instanceof\ElggEntity||!$entity->isDeleted()) if (!$entity->canEdit()) $display_name = $entity->getDisplayName() ?: elgg_echo('entity:restore:item') |
Definition at line 19 of file restore.php.
$entity |
Definition at line 7 of file restore.php.
$guid = (int) get_input('guid') |
Default entity restore action.
Definition at line 6 of file restore.php.
$message = '' |
Definition at line 31 of file restore.php.
if (!$entity->restore()) $success_keys |
Definition at line 25 of file restore.php.