Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 31 Rev 33
Line 141... Line 141...
141
		} catch (PDOException $e) {
141
		} catch (PDOException $e) {
142
			$this->messages[] = sprintf($this->getTxt('sql_erreur_requete'), $e->getFile(), $e->getLine(), $e->getMessage(), $requete);
142
			$this->messages[] = sprintf($this->getTxt('sql_erreur_requete'), $e->getFile(), $e->getLine(), $e->getMessage(), $requete);
143
		}
143
		}
144
		return $resultat;
144
		return $resultat;
145
	}
145
	}
-
 
146
	
-
 
147
	protected function proteger($chaine) {
-
 
148
		return $this->bdd->quote($chaine);
-
 
149
	}
Line 146... Line 150...
146
 
150
 
147
	protected function getTxt($id) {
151
	protected function getTxt($id) {
148
		$sortie = '';
152
		$sortie = '';
149
		switch ($id) {
153
		switch ($id) {