Elgg  Version master
Variables
icon.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Render an icon. More...
 
if(!$item instanceof ElggEntity$size = elgg_extract('size', $vars, 'small')
 

Variable Documentation

$item = elgg_extract('item', $vars)

Render an icon.

$vars['item'] The item being rendered $vars['item_vars'] Vars received from the page/components/table view $vars['type'] The item type or "" $vars['size'] The icon size

Definition at line 11 of file icon.php.

if (!$item instanceof ElggEntity) $size = elgg_extract('size', $vars, 'small')

Definition at line 16 of file icon.php.