Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
tools.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

if((!elgg_get_page_owner_entity())||(!elgg_get_page_owner_entity() ->
canEdit())) 
$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
 
 $username = elgg_extract('username', $vars)
 
 $content = elgg_view_form('plugins/usersettings/save', array(), array('entity' => $plugin))
 
 $params
 
 $body = elgg_view_layout('one_sidebar', $params)
 

Variable Documentation

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

Definition at line 49 of file tools.php.

$content = elgg_view_form('plugins/usersettings/save', array(), array('entity' => $plugin))

Definition at line 43 of file tools.php.

$params
Initial value:
= array(
'content' => $content,
'title' => $title,
)
$title
Definition: save.php:22
$content
Definition: tools.php:43

Definition at line 45 of file tools.php.

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

Definition at line 25 of file tools.php.

if ((!elgg_get_page_owner_entity())||(!elgg_get_page_owner_entity() ->canEdit())) $plugin_id = elgg_extract("plugin_id", $vars)

Definition at line 18 of file tools.php.

Definition at line 38 of file tools.php.

if (!$plugin) if (elgg_language_key_exists($plugin_id. ':usersettings:title')) else
Initial value:
{
$title = $plugin->getManifest()->getName()
$title
Definition: save.php:22
if(empty($plugin_id)) $plugin
Definition: tools.php:25

Definition at line 34 of file tools.php.