Elgg
Version master
|
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.
@uses $vars['items'] Array of menu items @uses $vars['class'] Additional CSS class for the section @uses $vars['name'] Name of the menu @uses $vars['section'] The section name @uses $vars['item_class'] Additional CSS class for each menu item @uses $vars['show_section_headers'] Do we show headers for each section @uses $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)) | ( | empty( $lis) | ) |
Definition at line 54 of file section.php.