Elgg  Version master
Variables
chooserestoredestination.php File Reference

Go to the source code of this file.

Variables

 $entity_guid = (int) get_input('entity_guid')
 
 $entity
 
if(!$entity instanceof\ElggEntity) if (!$entity->canEdit())
 
 $owner = $entity->getOwnerEntity()
 
if($owner instanceof\ElggUser &&$owner->getGroups(['count'=> true])) else
 
 $footer
 

Variable Documentation

$entity
Initial value:
})
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags...
Definition: elgglib.php:304
get_entity(int $guid)
Loads and returns an entity object from a guid.
Definition: entities.php:70
const ELGG_SHOW_DELETED_ENTITIES
Definition: constants.php:136

Definition at line 12 of file chooserestoredestination.php.

$entity_guid = (int) get_input('entity_guid')

Definition at line 11 of file chooserestoredestination.php.

$footer
Initial value:
'#type' => 'submit',
'text' => elgg_echo('save'),
'confirm' => elgg_echo('restoreandmoveconfirm'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1112
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17

Definition at line 75 of file chooserestoredestination.php.

$owner = $entity->getOwnerEntity()

Definition at line 29 of file chooserestoredestination.php.

if ($owner instanceof\ElggUser &&$owner->getGroups(['count'=> true])) else
Initial value:
{
echo elgg_view('output/longtext', [
'value' => elgg_echo('trash:restore:container:owner'),
])
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156

Definition at line 63 of file chooserestoredestination.php.

if (!$entity instanceof\ElggEntity) if(!$entity->canEdit())

Definition at line 19 of file chooserestoredestination.php.