Elgg  Version 6.0
default.php
Go to the documentation of this file.
1 <?php
10 $annotation = elgg_extract('annotation', $vars);
11 if (!$annotation instanceof ElggAnnotation) {
12  return;
13 }
14 
15 echo elgg_view('annotation/elements/summary', $vars);
$annotation
Elgg default annotation view.
Definition: default.php:10
Entity Annotation.
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