Function __global->_build_sitemap_menu

Definitions

sources/menus.php

  • Take a menu identifier, and return a Sitemap-based menu created from it.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$menu_id SHORT_TEXT required parameter N/A N/A The menu identifier to use (syntax to load from the Sitemap)
$tray_status string tray_closed N/A N/A The default expansion status of the node

Return

  • The Sitemap node structure (called a 'branch structure' for menus)
  • Type: array
  • Set: N/A
  • Range: N/A