Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 66 | Rev 80 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 66 Rev 67
Line 64... Line 64...
64
		foreach ($requetes as $requete) {
64
		foreach ($requetes as $requete) {
65
			$this->getBdd()->requeter($requete);
65
			$this->getBdd()->requeter($requete);
66
		}
66
		}
67
	}
67
	}
Line -... Line 68...
-
 
68
 
-
 
69
	protected function recupererContenu($chemin) {
-
 
70
		$contenu = file_get_contents($chemin);
-
 
71
		if ($contenu === false){
-
 
72
			throw new Exception("Impossible d'ouvrir le fichier SQL : $chemin");
-
 
73
		}
-
 
74
		return $contenu;
-
 
75
	}
68
 
76
 
69
	protected function stopperLaBoucle($limite) {
77
	protected function stopperLaBoucle($limite) {
70
		$stop = false;
78
		$stop = false;
71
		static $ligneActuelle = 1;
79
		static $ligneActuelle = 1;
72
		if ($nbreLignesATester = $limite) {
80
		if ($nbreLignesATester = $limite) {