/** Display details for a decoration style */ public function decorationstyleAction() { if ($this->_getParam('id', false)) { $decs = new Decstyles(); $this->view->decs = $decs->getDecStyleDetails($this->_getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter); } }