/** Setup individual tribe page */ public function tribeAction() { if ($this->_getParam('id', false)) { $id = (int) $this->_getParam('id'); $this->view->id = $id; $tribes = new Tribes(); $this->view->tribes = $tribes->getTribe($id); } else { throw new Pas_Exception_Param($this->_missingParameter); } }