public function byGame() { $CRs = new CR($this->db); $this->f3->set('list', $CRs->byGame($this->f3->get('PARAMS.id'))); $Game = new Game($this->db); $this->f3->set('game', $myGame = $Game->load(array('id=?', $this->f3->get('PARAMS.id')))); $this->f3->set('site_title', 'CRs de ' . $myGame['name'] . ' | CROTYpedia'); $this->f3->set('view', 'cr/index.htm'); }