/** Display workflow details */ public function workflowAction() { if ($this->_getParam('id', false)) { $workflows = new Workflows(); $this->view->workflows = $workflows->getStageName($this->_getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter); } }