src/UI/Menu.php
public function addLink($link, $href, $push=false)
    {
        $entry = new MenuEntry($link, $href);
        return $this->add($entry, $push);
    }
public function addLink($link, $href, $push=false)
    {
        $entry = new MenuEntry($link, $href);
        return $this->add($entry, $push);
    }
public function addLink ( $ link , $ href , $ push = false ) { $ entry = new MenuEntry ( $ link , $ href ) ; return $ this -> add ( $ entry , $ push ) ; }
Add an link to the menu

@param $link The text of the link - can be text, HTML, or even an img tag
@param $href An optional place to go when the link is clicked.  Also can be
a Menu.
@param $push true if this is to be put before the rest of the items in the menue

@return Menu The instance is returned to allow chaining syntax
Add an link to the menu