Elgg  Version 2.3
Namespaces | Variables
item.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $item = $vars['item']
 
 $link_class = 'elgg-menu-closed'
 
if($item->getSelected()) $children = $item->getChildren()
 
if($children) $item_class = $item->getItemClass()
 
if($item->getSelected()) if (isset( $vars[ 'item_class']) &&$vars[ 'item_class'])
 

Variable Documentation

◆ $children

if ( $item->getSelected()) $children = $item->getChildren()

Definition at line 21 of file item.php.

◆ $item

$item = $vars['item']

Definition at line 12 of file item.php.

◆ $item_class

if ( $children) $item_class = $item->getItemClass()

Definition at line 27 of file item.php.

◆ $link_class

$link_class = 'elgg-menu-closed'

Definition at line 14 of file item.php.

◆ if

if($children) ( isset($vars['item_class']) &&  $vars[ 'item_class'])

Definition at line 31 of file item.php.