Пример #1
0
 /** Set up the mint action
  * @access public
  * @return void
  * @throws Pas_Exception_Param
  */
 public function mintAction()
 {
     if ($this->getParam('id', false)) {
         $this->view->greeks = $this->_mints->getMintDetails($this->getParam('id'));
     } else {
         throw new Pas_Exception_Param($this->_missingParameter, 500);
     }
 }
Пример #2
0
 /** Mint details
  * @access public
  * @return void
  * @throws Pas_Exception_Param
  */
 public function mintAction()
 {
     if ($this->getParam('id', false)) {
         $this->view->mints = $this->_mints->getMintDetails($this->getParam('id'));
         $actives = new Rulers();
         $this->view->actives = $actives->getMedievalMintRulerList($this->getParam('id'));
     } else {
         throw new Pas_Exception_Param($this->_missingParameter, 500);
     }
 }
Пример #3
0
 /** Set up the mint action
  */
 public function mintAction()
 {
     if ($this->_getParam('id', false)) {
         $byzantium = new Mints();
         $this->view->byzantium = $byzantium->getMintDetails($this->_getParam('id'));
     } else {
         throw new Pas_Exception_Param($this->_missingParameter);
     }
 }