276,7 → 276,8 |
$this->retournerRequeteCondition().' '. |
$this->requete_group_by.' '. |
$this->retournerOrderBy().' '. |
$this->formerRequeteLimite(); |
$this->formerRequeteLimite() . |
' -- ' . __FILE__ . ':' . __LINE__ ; |
return $requete; |
} |
|
372,6 → 373,7 |
//-------------------FONCTIONS POUR LE FORMATAGE EN JSON---------------------------------------------------------------- |
|
public function retournerResultatFormate($resultat) { |
|
switch ($this->format_reponse) { |
case 'noms/relations' : |
$reponse = $this->formaterRelations($resultat[0]); |
535,7 → 537,7 |
'SELECT num_nom_retenu FROM '.$this->table.' WHERE num_nom = "'.$num_nom.'"'. |
')'; |
|
return $this->getBdd()->recupererTous($requete); |
return $this->getBdd()->recupererTous($requete . ' -- ' . __FILE__ . ':' . __LINE__ ); |
} |
|
public function formaterIdFlores($resultat) { |