Elgg  Version 3.0
Variables
excerpt.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Render an excerpt of the description. More...
 
if(!$item instanceof ElggEntity$length = elgg_extract('length', $vars, 250)
 
 $description = $item->description
 

Variable Documentation

Definition at line 18 of file excerpt.php.

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

Render an excerpt of the description.

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

Definition at line 11 of file excerpt.php.

if (!$item instanceof ElggEntity) $length = elgg_extract('length', $vars, 250)

Definition at line 16 of file excerpt.php.