Elgg  Version 6.1
Variables
delete.php File Reference

Go to the source code of this file.

Variables

 $user = get_user((int) elgg_extract('guid', $vars))
 
if(!$user instanceof\ElggUser) $content
 
 $form_vars
 
 $body_vars
 

Variable Documentation

$body_vars
Initial value:
= [
'guid' => $user->guid
if($guid===elgg_get_logged_in_user_guid()) $user
Definition: delete.php:15

Definition at line 24 of file delete.php.

$content
Initial value:
= elgg_view_image_block(elgg_view_entity_icon($user, 'medium'), elgg_view('output/longtext', [
'value' => elgg_echo('user:delete:description', [elgg_format_element('strong', [], $user->getDisplayName())]),
]), ['class' => 'mbl'])
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
Definition: views.php:898
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
elgg_view_entity_icon(\ElggEntity $entity, string $size= 'medium', array $vars=[])
View the icon of an entity.
Definition: views.php:542
if($guid===elgg_get_logged_in_user_guid()) $user
Definition: delete.php:15
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145

Definition at line 10 of file delete.php.

$form_vars
Initial value:
= [
'action' => elgg_generate_action_url('admin/user/delete', [
'forward_url' => elgg_get_site_url(),
], false)
elgg_generate_action_url(string $action, array $query=[], bool $add_csrf_tokens=true)
Generate an action URL.
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".

Definition at line 18 of file delete.php.

$user = get_user((int) elgg_extract('guid', $vars))

Definition at line 5 of file delete.php.