Elgg  Version 3.0
imprint.php
Go to the documentation of this file.
1 <?php
8 $entity = elgg_extract('entity', $vars);
9 if (!$entity instanceof ElggEntity) {
10  return;
11 }
12 
13 $imprint = elgg_view('object/elements/imprint/contents', $vars);
14 
16  return;
17 }
18 
20  'class' => 'elgg-listing-imprint',
21 ], $imprint);
elgg_is_empty($value)
Check if a value isn&#39;t empty, but allow 0 and &#39;0&#39;.
Definition: input.php:206
if(!$entity instanceof ElggEntity) $imprint
Definition: imprint.php:13
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg echo
Translates a string.
Definition: languages.js:43
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:1131
$entity
Displays information about the author, the time and the access of the post.
Definition: imprint.php:8
$vars['type']
Definition: save.php:11
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246