Elgg  Version 1.9
Namespaces | Variables
of.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:of:owned", array($owner->name))
 
 $dbprefix = elgg_get_config('dbprefix')
 
 $options
 
 $content = elgg_list_entities_from_relationship($options)
 
if(!$content$params
 
 $body = elgg_view_layout('one_sidebar', $params)
 

Variable Documentation

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

Definition at line 33 of file of.php.

Definition at line 24 of file of.php.

Definition at line 13 of file of.php.

$options
Initial value:
= array(
'relationship' => 'friend',
'relationship_guid' => $owner->getGUID(),
'inverse_relationship' => true,
'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: of.php:9

Definition at line 14 of file of.php.

Definition at line 9 of file of.php.

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

Definition at line 29 of file of.php.

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

Definition at line 11 of file of.php.