Elgg  Version 3.0
Variables
remove.php File Reference

Go to the source code of this file.

Variables

if(elgg_extract('show_remove', $vars, true)===false) $entity = elgg_extract('entity', $vars)
 Show a remove icon toggle. 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)) $name = elgg_extract('remove_name', $vars)
 
 if (elgg_is_empty($name))
 

Variable Documentation

if (elgg_extract('show_remove', $vars, true)===false) $entity = elgg_extract('entity', $vars)

Show a remove icon toggle.

$vars['entity'] entity to edit $vars['icon_type'] the type of the icon (default: icon) $vars['name'] name of the input/file (default: icon) $vars['remove_name'] name of the remove icon toggle (default: $vars['name'] . '_remove') $vars['show_remove'] show the remove icon option (default: true) $vars['thumb_size'] the icon size to use as the thumb (default: medium)

Definition at line 17 of file remove.php.

if (!$entity instanceof ElggEntity) $icon_type = elgg_extract('icon_type', $vars, 'icon')

Definition at line 23 of file remove.php.

if (!$entity->hasIcon($size, $icon_type)) $name = elgg_extract('remove_name', $vars)

Definition at line 31 of file remove.php.

$size = elgg_extract('thumb_size', $vars, 'medium')

Definition at line 32 of file remove.php.