Elgg  Version 3.0
Go to the documentation of this file.
1 <?php
10 if (!$user instanceof ElggUser) {
11  return;
12 }
14 // we need to include the user GUID so that admins can edit the settings of other users
16  '#type' => 'hidden',
17  'name' => 'guid',
18  'value' => $user->guid,
19 ]);
22  '#type' => 'submit',
23  'value' => elgg_echo('save'),
24 ]);
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1395
Definition: save.php:87
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_set_form_footer($footer= '')
Sets form footer and defers its rendering until the form view and extensions have been rendered...
Definition: views.php:1331
if(!$entity) $user
Definition: save.php:41
elgg echo
Translates a string.
Definition: languages.js:43
Gets the owner entity for the current page.
Definition: pageowner.php:65
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1131
Definition: save.php:11