Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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 = "elgg-menu elgg-menu-{$vars['name']}"

Definition at line 17 of file default.php.

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

Definition at line 14 of file default.php.

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

Definition at line 15 of file default.php.

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

Default menu.

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

Definition at line 13 of file default.php.