Elgg  Version master
Variables
create.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Default river view for ElggObject creation Will show an excerpt of the description of the ElggObject. More...
 
if(!$item instanceof ElggRiverItem$object = $item->getObjectEntity()
 
if(!$object instanceof ElggObject$vars ['message'] = elgg_get_excerpt((string) $object->description)
 

Variable Documentation

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

Default river view for ElggObject creation Will show an excerpt of the description of the ElggObject.

$vars['item'] the river item

Definition at line 9 of file create.php.

if (!$item instanceof ElggRiverItem) $object = $item->getObjectEntity()

Definition at line 14 of file create.php.

if (!$object instanceof ElggObject) $vars['message'] = elgg_get_excerpt((string) $object->description)

Definition at line 19 of file create.php.