Elgg  Version master
default.php
Go to the documentation of this file.
1 <?php
10 $relationship = elgg_extract('relationship', $vars);
11 if (!$relationship instanceof ElggRelationship) {
12  return;
13 }
14 
15 echo elgg_view('relationship/elements/summary', $vars);
$relationship
Elgg default relationship view.
Definition: default.php:10
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:25