Elgg
Version master
|
Go to the source code of this file.
Variables | |
$icon = elgg_extract('icon', $vars, '') | |
Annotation icon. More... | |
if($icon===false) if($icon!== '') | $icon_size = elgg_extract('icon_size', $vars, 'small') |
$icon_entity = elgg_extract('icon_entity', $vars) | |
if($icon_entity instanceof ElggEntity) | $annotation = elgg_extract('annotation', $vars) |
if(!$annotation instanceof ElggAnnotation) | $owner = $annotation->getOwnerEntity() |
if (!$owner instanceof ElggEntity) | |
if ($icon_entity instanceof ElggEntity) $annotation = elgg_extract('annotation', $vars) |
$icon = elgg_extract('icon', $vars, '') |
Annotation icon.
$vars['annotation'] ElggAnnotation $vars['icon'] Annotation icon. If false no icon will be shown, '' for default icon. $vars['icon_size'] The icon size to draw for the entity (default: small) $vars['icon_entity'] The entity to draw the icon for. This can be different from the listed entity (eg owner of a blog) If provided no fallback logic will be applied
$icon_entity = elgg_extract('icon_entity', $vars) |
if ($icon===false) if ($icon!== '') $icon_size = elgg_extract('icon_size', $vars, 'small') |
if (!$annotation instanceof ElggAnnotation) $owner = $annotation->getOwnerEntity() |
if(!$owner instanceof ElggEntity) |