36 echo
elgg_view(
'object/elements/imprint/element', [
39 'class' =>
'elgg-listing-time',
$annotation
Displays information the time of the annotation.
if(!$annotation instanceof ElggAnnotation) $time
if(empty($time)) $content
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_view_friendly_time($time, $time_updated=null)
Displays a UNIX timestamp in a friendly way.
elgg_view_url(string $href, string $text=null, array $options=[])
Helper function for outputting urls.