71,7 → 71,7 |
*/ |
protected function requeter($requete, $retour = self::SQL_RETOUR_COMPLET, $mode = PDO::FETCH_ASSOC) { |
$requete = $this->protegerRequete($requete); |
return $this->executerRequete($requete); |
return $this->executerRequete($requete, $retour, $mode); |
} |
|
/** |
110,6 → 110,13 |
return $this->bdd->quote($chaine); |
} |
|
protected function protegerTableau(Array $tableau) { |
foreach ($tableau as $id => $val) { |
$tableau[$id] = $this->proteger($val); |
} |
return $tableau; |
} |
|
/** |
* @deprecated utiliser executer() à la place |
* @see executer() |