/sources/menus_sitemap.php

Description
Functions
build_sitetree_menu (line 55)

Build menu based off of site tree branch.

  • return: Faked database rows
array build_sitetree_menu (array $specifier)
  • array $specifier: Where to get the site-tree under
_build_sitetree_menu_deep (line 31)

Recursive helper function for build_sitetree_menu.

  • return: Faked database rows
array _build_sitetree_menu_deep (?integer $this_id, array $children, array $pagelinks, string $page_link, string $page)
  • ?integer $this_id: Parent's ID (NULL: make root level)
  • array $children: Children to recurse with
  • array $pagelinks: Tuple of information about our sitetree segment
  • string $page_link: Page link of root branch (we monitor against this, making sure we use a NULL parent if we're a child of this)
  • string $page: Page the links are scoped to

Documentation generated on Sun, 02 Jan 2011 23:17:57 +0000 by phpDocumentor 1.4.3