english/libraries/joomla/html/html/menu.php
/**
	 * Get a list of the available menus.
	 *
	 * @return  string
	 * @since   11.1
	 */
Get a list of the available menus.
Get a list of the available menus .
public static function menus()
	{
		if (empty(self::$menus))
		{
			$db = JFactory::getDbo();
			$db->setQuery(
				'SELECT menutype As value, title As text' .
				' FROM #__menu_types' .
				' ORDER BY title'
			);
			self::$menus = $db->loadObjectList();
		}
		return self::$menus;
	}
public static function menus ( ) { if ( empty ( self :: $ menus ) ) { $ db = JFactory :: getDbo ( ) ; $ db -> setQuery ( 'SELECT menutype As value, title As text' . ' FROM #__menu_types' . ' ORDER BY title' ) ; self :: $ menus = $ db -> loadObjectList ( ) ; } return self :: $ menus ; }
Get a list of the available menus.
Get a list of the available menus .