Elgg  Version master
Variables
owner.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Render an owner element. More...
 
if(!$item instanceof ElggEntity$link = elgg_extract('link', $vars, true)
 
 $entity = $item->getOwnerEntity()
 
 if (!$entity)
 

Variable Documentation

$entity = $item->getOwnerEntity()

Definition at line 18 of file owner.php.

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

Render an owner element.

$vars['item'] The item being rendered $vars['item_vars'] Vars received from the page/components/table view $vars['type'] The item type or "" $vars['link'] Set to false to not use an anchor

Definition at line 11 of file owner.php.

if (!$item instanceof ElggEntity) $link = elgg_extract('link', $vars, true)

Definition at line 16 of file owner.php.

if(!$entity)

Definition at line 19 of file owner.php.