/** Medieval type details page * @access public * @return void * @throws Pas_Exception_Param */ public function typeAction() { if ($this->getParam('id', false)) { $this->view->types = $this->_types->getTypeDetails((int) $this->getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }
/** Set up the individual types */ public function typeAction() { if ($this->_getParam('id', false)) { $this->view->id = $this->_getParam('id'); $types = new MedievalTypes(); $this->view->types = $types->getTypeDetails($this->_getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter); } }
/** Medieval type details page */ public function typeAction() { if ($this->_getParam('id', false)) { $types = new MedievalTypes(); $this->view->types = $types->getTypeDetails((int) $this->_getParam('id')); $images = new Slides(); $this->view->images = $images->getExamplesCoinsMedTypes((int) $this->_getParam('id'), 4); } else { throw new Pas_Exception_Param($this->_missingParameter); } }