Go to the source code of this file.
◆ $entity
◆ $icon
Object icon.
@uses $vars['entity'] ElggEntity @uses $vars['icon'] Object icon. If false no icon will be shown, true will try entity icon with a fallback to owner icon, anything else will just be drawn. @uses $vars['icon_size'] The icon size to draw for the entity (default: small) @uses $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
Definition at line 13 of file icon.php.
◆ $icon_entity
◆ $icon_size
◆ $owner
if (! $entity instanceof ElggEntity) if ( $entity->hasIcon( $icon_size)) $owner = $entity->getOwnerEntity() |
◆ if
if(! $owner instanceof ElggEntity) |
( |
! $owner instanceof |
ElggEntity | ) |
|