public function addContactPage($label)
    {
        $project = $this->escort->project;

        $page = $this->addPage($label, null, 'contact');

        $page->addAction(sprintf($this->_('About %s'), $project->getName()), null, 'about');
        $page->addAction(sprintf($this->_('About %s'), $this->_('GemsTracker')), 'pr.contact.gems', 'gems');

        $page->addAction($this->_('Reporting bugs'), 'pr.contact.bugs', 'bugs');

        $page->addAction($this->_('Support'), 'pr.contact.support', 'support');

        return $page;
    }
public function addContactPage($label)
    {
        $project = $this->escort->project;

        $page = $this->addPage($label, null, 'contact');

        $page->addAction(sprintf($this->_('About %s'), $project->getName()), null, 'about');
        $page->addAction(sprintf($this->_('About %s'), $this->_('GemsTracker')), 'pr.contact.gems', 'gems');

        $page->addAction($this->_('Reporting bugs'), 'pr.contact.bugs', 'bugs');

        $page->addAction($this->_('Support'), 'pr.contact.support', 'support');

        return $page;
    }
public function addContactPage ( $ label ) { $ project = $ this -> escort -> project ; $ page = $ this -> addPage ( $ label , null , 'contact' ) ; $ page -> addAction ( sprintf ( $ this -> _ ( 'About %s' ) , $ project -> getName ( ) ) , null , 'about' ) ; $ page -> addAction ( sprintf ( $ this -> _ ( 'About %s' ) , $ this -> _ ( 'GemsTracker' ) ) , 'pr.contact.gems' , 'gems' ) ; $ page -> addAction ( $ this -> _ ( 'Reporting bugs' ) , 'pr.contact.bugs' , 'bugs' ) ; $ page -> addAction ( $ this -> _ ( 'Support' ) , 'pr.contact.support' , 'support' ) ; return $ page ; }
Shortcut function to create a contact container.

This function is in \Gems_Menu instead of AbstractMenu because
you should ALWAYS put this menu in the root menu.

@param string $label Label for the whole menu
@return \Gems_Menu_MenuAbstract The new contact page
Shortcut function to create a contact container .