code/CMSMenu.php
public static function add_link($code, $menuTitle, $url, $priority = -1, $attributes = null, $iconClass = null)
    {
        return self::add_menu_item($code, $menuTitle, $url, null, $priority, $attributes, $iconClass);
    }
public static function add_link($code, $menuTitle, $url, $priority = -1, $attributes = null, $iconClass = null)
    {
        return self::add_menu_item($code, $menuTitle, $url, null, $priority, $attributes, $iconClass);
    }
public static function add_link ( $ code , $ menuTitle , $ url , $ priority = - 1 , $ attributes = null , $ iconClass = null ) { return self :: add_menu_item ( $ code , $ menuTitle , $ url , null , $ priority , $ attributes , $ iconClass ) ; }
Add an arbitrary URL to the CMS menu.

@param string $code A unique identifier (used to create a CSS ID and its key in {@link $menu_items})
@param string $menuTitle The link's title in the CMS menu
@param string $url The url of the link
@param integer $priority The menu priority (sorting order) of the menu item.  Higher priorities will be further
left.
@param array $attributes an array of attributes to include on the link.
@param string $iconClass

@return boolean The result of the operation.
Add an arbitrary URL to the CMS menu .