Elgg  Version master
Variables
metadata.php File Reference

Go to the source code of this file.

Variables

 $metadata = elgg_extract('metadata', $vars, '')
 Output relationship metadata. More...
 
if($metadata===false) $relationship = elgg_extract('relationship', $vars)
 
if($metadata=== ''&&$relationship instanceof ElggRelationshipif (elgg_is_empty($metadata))
 

Variable Documentation

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

Output relationship metadata.

$vars['relationship'] the relationship $vars['metadata'] metadata (false for no metadata, '' for default metadata)

Definition at line 9 of file metadata.php.

if ($metadata===false) $relationship = elgg_extract('relationship', $vars)

Definition at line 14 of file metadata.php.

if ($metadata=== ''&&$relationship instanceof ElggRelationship) if(elgg_is_empty($metadata))

Definition at line 23 of file metadata.php.