Elgg  Version master
Variables
member.php File Reference

Go to the source code of this file.

Variables

 $relationship = elgg_extract('relationship', $vars)
 Elgg (group) member relationship view. More...
 
if(!$relationship instanceof ElggRelationship$entity_one = get_entity($relationship->guid_one)
 
 $entity_two = get_entity($relationship->guid_two)
 
if(!$entity_one instanceof ElggUser||!$entity_two instanceof ElggGroup$user_params
 
if(!$entity_one instanceof ElggUser||!$entity_two instanceof ElggGroup$user_params ['title'] = elgg_view_entity_url($entity_one)
 
 $subtitle = ''
 
 $location = $entity_one->getProfileData('location')
 
if(is_string($location)&&$location!== '') $briefdescription = $entity_one->getProfileData('briefdescription')
 
if(is_string($briefdescription)&&$briefdescription!== '') $user_params ['subtitle'] = $subtitle ?: false
 

Variable Documentation

if (is_string($location)&&$location!== '') $briefdescription = $entity_one->getProfileData('briefdescription')

Definition at line 35 of file member.php.

if (!$relationship instanceof ElggRelationship) $entity_one = get_entity($relationship->guid_one)

Definition at line 15 of file member.php.

$entity_two = get_entity($relationship->guid_two)

Definition at line 16 of file member.php.

$location = $entity_one->getProfileData('location')

Definition at line 29 of file member.php.

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

Elgg (group) member relationship view.

Note
To add or remove from the relationship menu, register handlers for the menu:relationship hook.

$vars['relationship']

Definition at line 10 of file member.php.

$subtitle = ''

Definition at line 28 of file member.php.

if (elgg_view_exists('user/status')) $user_params
Initial value:
= [
'entity' => $entity_one
if(!$relationship instanceof ElggRelationship) $entity_one
Definition: member.php:15

Definition at line 21 of file member.php.

if (!$entity_one instanceof ElggUser||!$entity_two instanceof ElggGroup) $user_params['title'] = elgg_view_entity_url($entity_one)

Definition at line 26 of file member.php.

if (is_string($briefdescription)&&$briefdescription!== '') $user_params['subtitle'] = $subtitle ?: false

Definition at line 40 of file member.php.