Go to the source code of this file.
|
if(elgg_extract('show_thumb', $vars, !elgg_extract('cropper_enabled', $vars, true))===false) | $entity = elgg_extract('entity', $vars) |
| Show an example of the current icon. More...
|
|
if(! $entity instanceof ElggEntity) | $icon_type = elgg_extract('icon_type', $vars, 'icon') |
|
| $size = elgg_extract('thumb_size', $vars, 'medium') |
|
| if (! $entity->hasIcon( $size, $icon_type)) |
|
◆ $entity
Show an example of the current icon.
@uses $vars['entity'] entity to edit @uses $vars['icon_type'] the type of the icon (default: icon) @uses $vars['show_thumb'] show the thumb of the entity if available (default: !cropper_enabled) @uses $vars['thumb_size'] the icon size to use as the thumb (default: medium) @uses $vars['cropper_enabled'] enable cropper features (default: false), when cropper is enabled thumbnail is disabled by default
Definition at line 16 of file thumb.php.
◆ $icon_type
◆ $size
◆ if
if(! $entity->hasIcon($size, $icon_type)) |
( |
! $entity-> |
hasIcon $size, $icon_type | ) |
|