Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1338 Rev 1386
Line 123... Line 123...
123
			$tableau[$id] = $this->proteger($val);
123
			$tableau[$id] = $this->proteger($val);
124
		}
124
		}
125
		return $tableau;
125
		return $tableau;
126
	}
126
	}
Line 127... Line -...
127
 
-
 
128
	/**
-
 
129
	 * @deprecated utiliser executer() à la place
-
 
130
	 * @see executer()
-
 
131
	 */
127
 
132
	protected function executerRequeteSimple($requete) {
128
	protected function executerRequeteSimple($requete) {
133
		$resultat = false;
129
		$resultat = false;
134
		try {
130
		try {
135
			$resultat = $this->bdd->exec($requete);
131
			$resultat = $this->bdd->exec($requete);
Line 140... Line 136...
140
			$this->debug[] = sprintf($this->getTxt('sql_erreur_requete'), $e->getFile(), $e->getLine(), $e->getMessage(), $requete);
136
			$this->debug[] = sprintf($this->getTxt('sql_erreur_requete'), $e->getFile(), $e->getLine(), $e->getMessage(), $requete);
141
		}
137
		}
142
		return $resultat;
138
		return $resultat;
143
	}
139
	}
Line 144... Line -...
144
 
-
 
145
	/**
-
 
146
	 * @deprecated utiliser requeter() à la place
-
 
147
	 * @see requeter()
-
 
148
	 */
140
 
149
	protected function executerRequete($requete, $retour = self::SQL_RETOUR_COMPLET, $mode = PDO::FETCH_ASSOC) {
141
	protected function executerRequete($requete, $retour = self::SQL_RETOUR_COMPLET, $mode = PDO::FETCH_ASSOC) {
150
		$resultat = false;
142
		$resultat = false;
151
		try {
143
		try {
152
			switch ($retour) {
144
			switch ($retour) {