Пример #1
0
 /** Set up an individual's details
  * @access public
  * @return void
  */
 public function rulerAction()
 {
     if ($this->getParam('id', false)) {
         $id = (int) $this->getParam('id');
         $this->view->id = $id;
         $this->view->rulers = $this->_rulers->getIronAgeRuler($id);
         $regions = new Geography();
         $this->view->regions = $regions->getIronAgeRegionToRuler($id);
     } else {
         throw new Pas_Exception_Param($this->_missingParameter, 500);
     }
 }