/** * Affichage des schemas */ public function index($rdgidrdg, $prjidprj = null) { $data['schemas'] = Schema_model::getAllSchemas($this->db); $rdg = RdG_model::getRdG($this->db, $rdgidrdg); $data['rdg'] = $rdg; if ($prjidprj != null) { $data['prjidprj'] = $prjidprj; } else { $data['prjidprj'] = ''; } $this->load->view('selectSchema_view', $data); }
/** * Affichage des schemas */ public function index() { $data['schemas'] = Schema_model::getAllSchemas($this->db); $this->load->view('listSchemas_view', $data); }