Elgg  Version 3.0
Variables
section.php File Reference

Go to the source code of this file.

Variables

 $items = elgg_extract('items', $vars, [])
 Menu group. More...
 
 $headers = elgg_extract('show_section_headers', $vars, false)
 
 $item_class = elgg_extract('item_class', $vars, '')
 
 $name = elgg_extract('name', $vars)
 
 $section = elgg_extract('section', $vars)
 
 $vars ['data-menu-section'] = $section
 
if($headers) $lis = []
 
 foreach ($items as $menu_item)
 

Variable Documentation

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

Definition at line 19 of file section.php.

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

Definition at line 22 of file section.php.

$items = elgg_extract('items', $vars, [])

Menu group.

$vars['items'] Array of menu items $vars['class'] Additional CSS class for the section $vars['name'] Name of the menu $vars['section'] The section name $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 section.php.

if ($headers) $lis = []

Definition at line 38 of file section.php.

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

Definition at line 25 of file section.php.

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

Definition at line 28 of file section.php.

$vars['data-menu-section'] = $section

Definition at line 30 of file section.php.

foreach($items as $menu_item)

Definition at line 39 of file section.php.