Elgg  Version 4.3
Go to the documentation of this file.
1 <?php
8 $annotation = elgg_extract('annotation', $vars);
9 if (!$annotation instanceof ElggAnnotation) {
10  return;
11 }
13 $imprint = elgg_view('annotation/elements/imprint/contents', $vars);
15  return;
16 }
19  'class' => 'elgg-listing-imprint',
20 ], $imprint);
Check if a value isn&#39;t empty, but allow 0 and &#39;0&#39;.
Definition: input.php:179
if(!$annotation instanceof ElggAnnotation) $imprint
Definition: imprint.php:13
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:135
Displays the annotation imprint.
Definition: imprint.php:8
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
Definition: html.php:24
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179