public function addParticipatePage($label)
    {
        $participate = $this->addContainer($label);
        $subscr = $participate->addPage($this->_('Subscribe'), 'pr.participate.subscribe', 'participate', 'subscribe');
        $subscr->addPage(null, 'pr.participate.subscribe', 'participate', 'subscribe-thanks');
        $unsub = $participate->addPage($this->_('Unsubscribe'), 'pr.participate.unsubscribe', 'participate', 'unsubscribe');
        $unsub->addPage(null, 'pr.participate.unsubscribe', 'participate', 'unsubscribe-thanks');

        return $participate;
    }
public function addParticipatePage($label)
    {
        $participate = $this->addContainer($label);
        $subscr = $participate->addPage($this->_('Subscribe'), 'pr.participate.subscribe', 'participate', 'subscribe');
        $subscr->addPage(null, 'pr.participate.subscribe', 'participate', 'subscribe-thanks');
        $unsub = $participate->addPage($this->_('Unsubscribe'), 'pr.participate.unsubscribe', 'participate', 'unsubscribe');
        $unsub->addPage(null, 'pr.participate.unsubscribe', 'participate', 'unsubscribe-thanks');

        return $participate;
    }
public function addParticipatePage ( $ label ) { $ participate = $ this -> addContainer ( $ label ) ; $ subscr = $ participate -> addPage ( $ this -> _ ( 'Subscribe' ) , 'pr.participate.subscribe' , 'participate' , 'subscribe' ) ; $ subscr -> addPage ( null , 'pr.participate.subscribe' , 'participate' , 'subscribe-thanks' ) ; $ unsub = $ participate -> addPage ( $ this -> _ ( 'Unsubscribe' ) , 'pr.participate.unsubscribe' , 'participate' , 'unsubscribe' ) ; $ unsub -> addPage ( null , 'pr.participate.unsubscribe' , 'participate' , 'unsubscribe-thanks' ) ; return $ participate ; }
Shortcut function to create a participate page

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
Shortcut function to create a participate page