Exemplo n.º 1
0
 /** Set up the individual page per ruler with examples, map and types
  * @access public
  * @return void
  * @throws Pas_Exception_Param
  */
 public function rulerAction()
 {
     if ($this->getParam('id', false)) {
         $id = $this->getParam('id');
         $this->view->rulers = $this->_rulers->getRulerImage($id);
         $this->view->monarchs = $this->_rulers->getRulerProfileMed($id);
         $denominations = new Denominations();
         $this->view->denominations = $denominations->getEarlyMedRulerToDenomination($id);
         $types = new MedievalTypes();
         $this->view->types = $types->getEarlyMedievalTypeToRuler($id);
         $mints = new Mints();
         $this->view->mints = $mints->getMedMintRuler($id);
     } else {
         throw new Pas_Exception_Param($this->_missingParameter, 500);
     }
 }