/** Details page for an organisation. */ public function organisationAction() { if ($this->_getParam('id', false)) { $orgs = new Organisations(); $this->view->orgs = $orgs->getOrgDetails($this->_getParam('id')); $members = new Organisations(); $this->view->members = $members->getMembers($this->_getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter); } }