function menu_secondary_links in Drupal 4
Same name and namespace in other branches
- 5 includes/menu.inc \menu_secondary_links()
- 6 includes/menu.inc \menu_secondary_links()
Returns an array containing the secondary links. Secondary links can be either a second level of the Primary links menu or generated from their own menu.
Related topics
2 calls to menu_secondary_links()
- chameleon_page in themes/chameleon/ chameleon.theme 
- phptemplate_page in themes/engines/ phptemplate/ phptemplate.engine 
- Prepare the values passed to the theme_page function to be passed into a pluggable template engine.
File
- includes/menu.inc, line 870 
- API for the Drupal menu system.
Code
function menu_secondary_links() {
  $msm = variable_get('menu_secondary_menu', 0);
  if ($msm == 0) {
    return NULL;
  }
  if ($msm == variable_get('menu_primary_menu', 0)) {
    return menu_primary_links(2, $msm);
  }
  return menu_primary_links(1, $msm);
}