/** Index page for list of foreign rulers * @access public * @return void */ public function foreignAction() { $this->view->ferengi = $this->_rulers->getMedievalRulersListed($this->_period, '29'); $this->view->doges = $this->_rulers->getForeign($this->_period, $country = '1'); $this->view->scots = $this->_rulers->getForeign($this->_period, $country = '2'); $this->view->low = $this->_rulers->getForeign($this->_period, $country = '3'); $this->view->imitate = $this->_rulers->getForeign($this->_period, $country = '4'); $this->view->portugal = $this->_rulers->getForeign($this->_period, $country = '5'); $this->view->shortlongs = $this->_rulers->getForeign($this->_period, $country = '6'); $this->view->french = $this->_rulers->getForeign($this->_period, $country = '7'); }
/** Index page for list of foreign rulers */ public function foreignAction() { $ferengi = new Rulers(); $this->view->ferengi = $ferengi->getMedievalRulersListed($this->_period, '29'); $doges = new Rulers(); $this->view->doges = $doges->getForeign($this->_period, $country = '1'); $scots = new Rulers(); $this->view->scots = $scots->getForeign($this->_period, $country = '2'); $low = new Rulers(); $this->view->low = $low->getForeign($this->_period, $country = '3'); $imitate = new Rulers(); $this->view->imitate = $imitate->getForeign($this->_period, $country = '4'); $portugal = new Rulers(); $this->view->portugal = $imitate->getForeign($this->_period, $country = '5'); $shortlongs = new Rulers(); $this->view->shortlongs = $shortlongs->getForeign($this->_period, $country = '6'); }