/** Individual denomination page details * @access Public * @throws Pas_Exception_Param */ public function denominationAction() { if ($this->getParam('id', false)) { $this->view->denomination = $this->_denominations->getDenom($this->getParam('id'), (int) $this->_period); $this->view->rulers = $this->_denominations->getRulerDenomination($this->getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }
/** An individual denomination's entry details * @access public * @return void * @throws Pas_Exception_Param */ public function denominationAction() { if ($this->getParam('id', false)) { $id = $this->getParam('id'); $this->view->id = $id; $this->view->denoms = $this->_denominations->getDenom($id, $this->_period); $regions = new Geography(); $this->view->regions = $regions->getIronAgeDenomGeog($id); } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }
/** Display individual denomination */ public function denominationAction() { if ($this->_getParam('id', false)) { $denoms = new Denominations(); $this->view->denoms = $denoms->getDenom((int) $this->_getParam('id'), (int) $this->_period); } else { throw new Pas_Exception_Param($this->_missingParameter); } }
/** Set up the individual denominations */ public function denominationAction() { if ($this->_getParam('id', false)) { $id = $this->_getParam('id'); $denoms = new Denominations(); $this->view->denoms = $denoms->getDenom($id, (int) 21); $emps = new Emperors(); $this->view->emps = $emps->getDenomEmperor($id); } else { throw new Pas_Exception_Param($this->_missingParameter); } }
/** Get details of each individual denomination * @param int $id denomination number */ public function denominationAction() { if ($this->_getParam('id', false)) { $id = (int) $this->_getParam('id'); $this->view->id = $id; $denoms = new Denominations(); $this->view->denoms = $denoms->getDenom($id, (int) $this->_period); $rulers = new Denominations(); $this->view->rulers = $rulers->getRulerDenomination((int) $id); } else { throw new Pas_Exception_Param($this->_missingParameter); } }