GenerateMenuUL

Outputs a menu showing the page and its context within the site structure using UL tags. The function requires a UserID in order to know what menu links the user is allowed to view.

Prototype

function GenerateMenuUL($PageID, $UserID, $depth=10000)

Parameters

  • $PageID - a page in the CMS database - (usually $CurrentPageID)
  • $UserID - a user in the CMS database - (usually $CurrentUserID)
  • $depth - the maximum depth of the menu tree

Return Values

This function does not return any data.