Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
metadata.php
Go to the documentation of this file.
1 <?php
11 $m = $vars['metadata'];
12 $e = get_entity($m->entity_guid);
13 ?>
14 <p class="margin-none"><?php if ($e) echo "<a href=\"" . $e->getURL() . "\">GUID:{$m->entity_guid}</a>"; else echo "GUID:".$m->entity_guid;
15 ?>: <b><?php echo $m->name; ?></b> <?php echo $m->value; ?></p>
$m
Definition: metadata.php:11
$e
Definition: metadata.php:12
$vars['entity']
b
Definition: admin.css.php:56
get_entity($guid)
Loads and returns an entity object from a guid.
Definition: entities.php:204