Elgg  Version master
url.php File Reference

Go to the source code of this file.


 $item = elgg_extract('item', $vars)
 Output an ElggMenuItem as an url. More...
 $vars = array_merge($item->getValues(), $vars)
 $vars ['class'] = elgg_extract_class($vars, ['elgg-menu-content'])
if($item->getLinkClass()) if($item->getHref()===false||$item->getHref()===null) if(!isset($vars['rel'])&&!isset($vars['is_trusted'])) if($item->getConfirmText()) if (isset($vars['badge'])&&is_numeric($vars['badge']))

Variable Documentation

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

Output an ElggMenuItem as an url.

$vars['item'] the ElggMenuItem to display

Definition at line 8 of file url.php.

$vars = array_merge($item->getValues(), $vars)

Definition at line 15 of file url.php.

$vars['class'] = elgg_extract_class($vars, ['elgg-menu-content'])

Definition at line 16 of file url.php.

if ($item->getLinkClass()) if ($item->getHref()===false||$item->getHref()===null) if (!isset($vars['rel'])&&!isset($vars['is_trusted'])) if ($item->getConfirmText()) if(isset($vars['badge'])&&is_numeric($vars['badge']))

Definition at line 34 of file url.php.