/** Show details of a method */ public function methodAction() { if ($this->_getParam('id', false)) { $methods = new DiscoMethods(); $this->view->methods = $methods->getDiscmethodInformation($this->_getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter); } }