Пример #1
0
 /** Individual region's details
  * @access public
  * @throws Pas_Exception_Param
  *
  */
 public function regionAction()
 {
     if ($this->getParam('id', false)) {
         $this->view->regions = $this->_geography->getIronAgeRegion($this->getParam('id'));
         $id = $this->getParam('id');
         $denominations = new Denominations();
         $this->view->denominations = $denominations->getDenByPeriod($this->_period);
         $rulers = new Rulers();
         $this->view->rulers = $rulers->getIronAgeRulerToRegion($id);
     } else {
         throw new Pas_Exception_Param($this->_missingParameter, 500);
     }
 }