/** Set up the mint action * @todo move the config and key to view */ public function mintAction() { if ($this->_getParam('id', false)) { $id = $this->_getParam('id'); $rommints = new Romanmints(); $this->view->rommints = $rommints->getMintDetails($id); $actives = new Rulers(); $this->view->actives = $actives->getRomanMintRulerList($id); $counts = new Finds(); $this->view->counts = $counts->getCountMint($id); } else { throw new Pas_Exception_Param($this->_missingParameter); } }