Elgg  Version 3.0
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $menu = elgg_extract('menu', $vars)
 
if(!$menu instanceof PreparedMenu$name = elgg_extract('name', $vars, '')
 
 $name_class_selector = preg_replace('/[^a-z0-9\-]/i', '-', strtolower($name))
 
 $show_section_headers = elgg_extract('show_section_headers', $vars, false)
 
 $item_class = elgg_extract('item_class', $vars, '')
 
 $class = elgg_extract_class($vars, ["elgg-menu", "elgg-menu-{$name_class_selector}"])
 
 $menu_view = ''
 
foreach($menu as $section) if (!$menu_view)
 

Variable Documentation

$class = elgg_extract_class($vars, ["elgg-menu", "elgg-menu-{$name_class_selector}"])

Definition at line 29 of file default.php.

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

Definition at line 27 of file default.php.

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

Definition at line 16 of file default.php.

$menu_view = ''
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 31 of file default.php.

if (!$menu instanceof PreparedMenu) $name = elgg_extract('name', $vars, '')

Definition at line 22 of file default.php.

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

Definition at line 24 of file default.php.

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

Definition at line 26 of file default.php.

foreach ($menu as $section) if(!$menu_view)

Definition at line 53 of file default.php.