Elgg  Version 4.3
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
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:24
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547
elgg echo
Translates a string.
Definition: deprecated.js:530
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179