19 unset(
$vars[
'items']);
22 unset(
$vars[
'show_section_headers']);
25 unset(
$vars[
'item_class']);
31 unset(
$vars[
'section']);
36 'class' =>
'elgg-menu-section-header',
37 ],
elgg_echo(
"menu:$name:header:$section"));
41 foreach (
$items as $menu_item) {
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.