Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 233 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 233 Rev 349
Line 613... Line 613...
613
			$this->executerSql($requete);
613
			$this->executerSql($requete);
614
		}
614
		}
615
	}
615
	}
Line 616... Line 616...
616
 
616
 
617
	private function vider() {
617
	private function vider() {
618
		$requete = 'TRUNCATE TABLE prometheus_ontologies_auteur_v1_00';
618
		$requete = 'TRUNCATE TABLE IF EXISTS prometheus_ontologies_auteur_v1_00';
619
		$this->executerSql($requete);
619
		$this->executerSql($requete);
620
		$requete = 'TRUNCATE TABLE prometheus_ontologies_hierarchie_v1_00';
620
		$requete = 'TRUNCATE TABLE IF EXISTS prometheus_ontologies_hierarchie_v1_00';
621
		$this->executerSql($requete);
621
		$this->executerSql($requete);
622
		$requete = 'TRUNCATE TABLE prometheus_ontologies_image_v1_00';
622
		$requete = 'TRUNCATE TABLE IF EXISTS prometheus_ontologies_image_v1_00';
623
		$this->executerSql($requete);
623
		$this->executerSql($requete);
624
		$requete = 'TRUNCATE TABLE prometheus_ontologies_publication_v1_00';
624
		$requete = 'TRUNCATE TABLE IF EXISTS prometheus_ontologies_publication_v1_00';
625
		$this->executerSql($requete);
625
		$this->executerSql($requete);
626
		$requete = 'TRUNCATE TABLE prometheus_ontologies_relation_v1_00';
626
		$requete = 'TRUNCATE TABLE IF EXISTS prometheus_ontologies_relation_v1_00';
627
		$this->executerSql($requete);
627
		$this->executerSql($requete);
628
		$requete = 'TRUNCATE TABLE prometheus_ontologies_terme_v1_00';
628
		$requete = 'TRUNCATE TABLE IF EXISTS prometheus_ontologies_terme_v1_00';
629
		$this->executerSql($requete);
629
		$this->executerSql($requete);
Line 630... Line 630...
630
	}
630
	}
631
 
631
 
632
	private function supprimerTous() {
632
	private function supprimerTous() {
633
		$requete = "DROP TABLE prometheus_meta, prometheus_ontologies_auteur_v1_00, prometheus_ontologies_hierarchie_v1_00,
633
		$requete = "DROP TABLE IF EXISTS prometheus_meta, prometheus_ontologies_auteur_v1_00, prometheus_ontologies_hierarchie_v1_00,
634
			prometheus_ontologies_image_v1_00, prometheus_ontologies_publication_v1_00, prometheus_ontologies_relation_v1_00,
634
			prometheus_ontologies_image_v1_00, prometheus_ontologies_publication_v1_00, prometheus_ontologies_relation_v1_00,
635
			prometheus_ontologies_terme_v1_00, prometheus_ontologies_type_v1_00";
635
			prometheus_ontologies_terme_v1_00, prometheus_ontologies_type_v1_00";
636
		$this->getBdd()->requeter($requete);
636
		$this->getBdd()->requeter($requete);