Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 103 Rev 107
Line 76... Line 76...
76
			throw new Exception("Impossible d'ouvrir le fichier SQL : $chemin");
76
			throw new Exception("Impossible d'ouvrir le fichier SQL : $chemin");
77
		}
77
		}
78
		return $contenu;
78
		return $contenu;
79
	}
79
	}
Line 80... Line 80...
80
 
80
 
81
	protected function stopperLaBoucle($limite) {
81
	protected function stopperLaBoucle($limite = false) {
-
 
82
		$stop = false;
82
		$stop = false;
83
		if ($limite) {
83
		static $ligneActuelle = 1;
84
			static $ligneActuelle = 1;
84
		if ($limite == $ligneActuelle++) {
85
			if ($limite == $ligneActuelle++) {
-
 
86
				$stop = true;
85
			$stop = true;
87
			}
86
		}
88
		}
87
		return $stop;
89
		return $stop;
88
	}
90
	}
89
}
91
}
90
?>
92
?>