Elgg  Version 3.0
Namespaces | Variables
tools.php File Reference

Go to the source code of this file.


 Configuration exception.


 $username = elgg_extract('username', $vars)
if(!$username) $user = get_user_by_username($username)
 $plugin_id = elgg_extract("plugin_id", $vars)
if(empty($plugin_id)) $plugin = elgg_get_plugin_from_id($plugin_id)
if(!$plugin) if(elgg_language_key_exists($plugin_id. ':usersettings:title')) else
 $form_vars = []
if(elgg_action_exists("{$plugin->getID()}/usersettings/save")) $content = elgg_view_form('plugins/usersettings/save', $form_vars, ['entity' => $plugin])
 $body = elgg_view_layout('one_sidebar', $params)

Variable Documentation

$body = elgg_view_layout('one_sidebar', $params)

Definition at line 59 of file tools.php.

if (elgg_action_exists("{$plugin->getID()}/usersettings/save")) $content = elgg_view_form('plugins/usersettings/save', $form_vars, ['entity' => $plugin])

Definition at line 52 of file tools.php.

$form_vars = []

Definition at line 46 of file tools.php.

Initial value:
= [
'content' => $content
if(elgg_action_exists("{$plugin->getID()}/usersettings/save")) $content
Definition: tools.php:52

Definition at line 54 of file tools.php.

if (empty($plugin_id)) $plugin = elgg_get_plugin_from_id($plugin_id)

Definition at line 29 of file tools.php.

$plugin_id = elgg_extract("plugin_id", $vars)

Definition at line 23 of file tools.php.

if (!$username) $user = get_user_by_username($username)

Definition at line 16 of file tools.php.

$username = elgg_extract('username', $vars)

Definition at line 11 of file tools.php.

if (!$plugin) if (elgg_language_key_exists($plugin_id. ':usersettings:title')) else
Initial value:
$title = $plugin->getDisplayName()
if(empty($plugin_id)) $plugin
Definition: tools.php:29
Definition: user.php:20

Definition at line 37 of file tools.php.