/** Display details for a decorative method */ public function decorationmethodAction() { if ($this->_getParam('id', false)) { $decs = new Decmethods(); $this->view->decs = $decs->getDecorationDetails($this->_getParam('id')); $this->view->counts = $decs->getDecCount($this->_getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter); } }