/** A wear type individual record * @access public */ public function weartypeAction() { if ($this->getParam('id', false)) { $wear = new WearTypes(); $this->view->wear = $wear->getWearType($this->getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }