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
 
 $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

◆ $briefdescription

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

Definition at line 35 of file member.php.

◆ $entity_one

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

Definition at line 15 of file member.php.

◆ $entity_two

$entity_two = get_entity($relationship->guid_two)

Definition at line 16 of file member.php.

◆ $location

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

Definition at line 29 of file member.php.

◆ $relationship

$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.

@uses $vars['relationship']

Definition at line 10 of file member.php.

◆ $subtitle

$subtitle = ''

Definition at line 28 of file member.php.

◆ $user_params [1/3]

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

Definition at line 21 of file member.php.

◆ $user_params [2/3]

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

Definition at line 40 of file member.php.

◆ $user_params [3/3]

$user_params[ 'title'] = elgg_view_entity_url($entity_one)

Definition at line 26 of file member.php.