Elgg  Version 1.11
relationship.php
Go to the documentation of this file.
1 <?php
11 $r = $vars['relationship'];
12 
13 $e1 = get_entity($r->guid_one);
14 $e2 = get_entity($r->guid_two);
15 ?>
16 <p class="margin-none"><?php
17  if ($e1) echo "<a href=\"" . $e1->getURL() . "\">GUID:" . $r->guid_one . "</a>"; else echo "GUID:".$r->guid_one;
18 ?>
19 <b><?php echo $r->relationship; ?></b>
20 <?php
21  if ($e2) echo "<a href=\"" . $e2->getURL() . "\">GUID:" . $r->guid_two . "</a>"; else echo "GUID:".$r->guid_two;
22 ?></p>
$r
p
Definition: admin.php:118
$e1
$e2
b
Definition: admin.php:56
elgg echo
Translates a string.
Definition: languages.js:43
get_entity($guid)
Loads and returns an entity object from a guid.
Definition: entities.php:382
if(file_exists($welcome)) $vars
Definition: upgrade.php:93