public function rendPub() { $res = $this->model->rendPub(); $tableau_partie = ""; foreach ($res as $i => $partie) { $tableau_partie[$i] = $partie; } return $tableau_partie; }