Elgg  Version 3.0
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) $value = $entity->getDisplayName()
 
 if ($link)
 

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) $value = $entity->getDisplayName()

Definition at line 23 of file owner.php.

if($link)

Definition at line 24 of file owner.php.