initialiserProjet('photoflora'); $cmd = $this->getParametre('a'); switch ($cmd) { case 'chargerTous' : $this->chargerStructureSql(); break; case 'chargerStructureSql' : $this->chargerStructureSql(); break; case 'chargerOntologies' : break; case 'supprimerTous' : $this->supprimerTous(); break; default : throw new Exception("Erreur : la commande '$cmd' n'existe pas!"); } } catch (Exception $e) { $this->traiterErreur($e->getMessage()); } } private function supprimerTous() { $requete = "DROP TABLE IF EXISTS photoflora_meta"; $this->getBdd()->requeter($requete); } } ?>