Elgg  Version 2.3
Namespaces | Variables
index.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $owner = elgg_get_page_owner_entity()
 
 $title = elgg_echo("friends:owned", array($owner->name))
 
 $dbprefix = elgg_get_config('dbprefix')
 
 $options
 
 $content = elgg_list_entities_from_relationship($options)
 
 $params
 
 $body = elgg_view_layout('one_sidebar', $params)
 

Variable Documentation

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

Definition at line 30 of file index.php.

Definition at line 24 of file index.php.

Definition at line 13 of file index.php.

$options
Initial value:
= array(
'relationship' => 'friend',
'relationship_guid' => $owner->getGUID(),
'inverse_relationship' => false,
'type' => 'user',
'joins' => array("JOIN {$dbprefix}users_entity ue ON e.guid = ue.guid"),
'order_by' => 'ue.name ASC',
'full_view' => false,
'no_results' => elgg_echo('friends:none'),
)
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$owner
Definition: index.php:9

Definition at line 14 of file index.php.

Definition at line 9 of file index.php.

$params
Initial value:
= array(
'content' => $content,
'title' => $title,
)
$title
Definition: index.php:11
$content
Definition: index.php:24

Definition at line 26 of file index.php.

$title = elgg_echo("friends:owned", array($owner->name))

Definition at line 11 of file index.php.