/** Set up the individual reverse type */ public function typeAction() { if ($this->getParam('id', false)) { $id = $this->getParam('id'); $this->view->reverses = $this->_revTypes->getReverseTypesDetails($id); $emps = new Emperors(); $this->view->emps = $emps->getEmperorRevTypes($id); $mints = new Mints(); $this->view->mints = $mints->getMintReverseType($id); } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }