Elgg  Version 2.3
Variables
owner.php File Reference

Go to the source code of this file.

Variables

 $item = $vars['item']
 Render an owner element. More...
 
 $link = elgg_extract('link', $vars, true)
 
 $entity = $item->getOwnerEntity()
 
if(!$entity$value = $entity->getDisplayName()
 
 if ($link)
 

Variable Documentation

$entity = $item->getOwnerEntity()

Definition at line 16 of file owner.php.

$item = $vars['item']

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.

$link = elgg_extract('link', $vars, true)

Definition at line 14 of file owner.php.

if (!$entity) $value = $entity->getDisplayName()

Definition at line 21 of file owner.php.

if($link)

Definition at line 22 of file owner.php.