Elgg  Version 6.2
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

◆ $description

$description = $item->description ?? ''

Definition at line 18 of file excerpt.php.

◆ $item

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

Render an excerpt of the description.

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

Definition at line 11 of file excerpt.php.

◆ $length

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

Definition at line 16 of file excerpt.php.