Elgg
Version 6.1
|
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_class($vars, [], 'item_class') | |
$name = elgg_extract('name', $vars) | |
$section = elgg_extract('section', $vars) | |
$vars ['data-menu-section'] = $section | |
if($headers) | $lis = [] |
foreach($items as $menu_item) | if (empty($lis)) |
$headers = elgg_extract('show_section_headers', $vars, false) |
Definition at line 21 of file section.php.
$item_class = elgg_extract_class($vars, [], 'item_class') |
Definition at line 24 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 $vars['section_header_tag_name'] (optional) tag to be used for the section header
Definition at line 14 of file section.php.
if ($headers) $lis = [] |
Definition at line 40 of file section.php.
$name = elgg_extract('name', $vars) |
Definition at line 27 of file section.php.
$section = elgg_extract('section', $vars) |
Definition at line 30 of file section.php.
$vars['data-menu-section'] = $section |
Definition at line 32 of file section.php.
foreach ($items as $menu_item) if(empty($lis)) |
Definition at line 54 of file section.php.