Elgg  Version master
Variables
url.php File Reference

Go to the source code of this file.

Variables

 $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

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

Output an ElggMenuItem as an url.

@uses $vars['item'] the ElggMenuItem to display

Definition at line 8 of file url.php.

◆ $vars [1/2]

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

Definition at line 15 of file url.php.

◆ $vars [2/2]

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

Definition at line 16 of file url.php.

◆ if

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'])) ( isset( $vars[ 'badge']) &&is_numeric( $vars[ 'badge'])  )

Definition at line 34 of file url.php.