Elgg  Version 1.11
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $vars ['name'] = preg_replace('/[^a-z0-9\-]/i', '-', $vars['name'])
 Default menu. More...
 
 $headers = elgg_extract('show_section_headers', $vars, false)
 
 $item_class = elgg_extract('item_class', $vars, '')
 
 $class = "elgg-menu elgg-menu-{$vars['name']}"
 

Variable Documentation

◆ $class

$class = "elgg-menu elgg-menu-{$vars['name']}"

Definition at line 17 of file default.php.

◆ $headers

$headers = elgg_extract('show_section_headers', $vars, false)

Definition at line 14 of file default.php.

◆ $item_class

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

Definition at line 15 of file default.php.

◆ $vars

$vars[ 'name'] = preg_replace('/[^a-z0-9\-]/i', '-', $vars['name'])

Default menu.

@uses $vars['name'] Name of the menu @uses $vars['menu'] Array of menu items @uses $vars['class'] Additional CSS class for the menu @uses $vars['item_class'] Additional CSS class for each menu item @uses $vars['show_section_headers'] Do we show headers for each section?

Definition at line 13 of file default.php.