9 $menu =
elgg()->menus->getUnpreparedMenu(
'site', [
34 'name' =>
'featured_menu_names[]',
35 'value' => $current_value,
50 'name' =>
'custom_menu_titles[]',
55 'name' =>
'custom_menu_urls[]',
70 'class' =>
'custom_menuitem',
71 '#text' =>
"$name_str: $name_input $url_str: $url_input",
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.