Elgg  Version 4.3
remove.php File Reference

Go to the source code of this file.


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')
if(!$entity->hasIcon('master', $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)

Definition at line 16 of file remove.php.

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

Definition at line 22 of file remove.php.

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

Definition at line 28 of file remove.php.

Definition at line 29 of file remove.php.