Elgg
Version 6.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
annotation
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
$annotation
Elgg default annotation view.
Definition:
default.php:10
ElggAnnotation
Entity Annotation.
Definition:
ElggAnnotation.php:9
elgg_extract
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
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
$vars
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition:
default.php:25
Generated on Mon Oct 7 2024 00:00:27 for Elgg by
1.8.11