Line 566... |
Line 566... |
566 |
|
566 |
|
Line 567... |
Line 567... |
567 |
//-----------------------------Fonctions d'affichage utiliser dans les fonctions de formatage---------------------------
|
567 |
//-----------------------------Fonctions d'affichage utiliser dans les fonctions de formatage---------------------------
|
568 |
|
568 |
|
- |
|
569 |
public function afficherDonnees($champApi, $valeur) {
|
569 |
public function afficherDonnees($champApi, $valeur) {
|
570 |
$champBdd = $this->trouverChampBddCorrespondant($champApi);
|
570 |
$champBdd = $this->trouverChampBddCorrespondant($champApi);
|
571 |
|
571 |
if ($this->parametres['retour.format'] == 'min') {
|
572 |
if ($this->parametres['retour.format'] == 'min') {
|
572 |
if ($champApi == 'nom_sci') {
|
573 |
if ($champApi == 'nom_sci') {
|
573 |
$valeur = $valeur.' '.$this->ajouterCompositionNom($this->resultat_req);
|
574 |
$valeur = $valeur.' '.$this->ajouterCompositionNom($this->resultat_req);
|
Line 756... |
Line 757... |
756 |
.' WHERE num_nom = '.$id;
|
757 |
.' WHERE num_nom = '.$id;
|
757 |
}
|
758 |
}
|
758 |
if ($this->parametres['ns.format'] == 'htm') {
|
759 |
if ($this->parametres['ns.format'] == 'htm') {
|
759 |
$req = str_replace('nom_sci', 'nom_sci_html as nom_sci', $req);
|
760 |
$req = str_replace('nom_sci', 'nom_sci_html as nom_sci', $req);
|
760 |
}
|
761 |
}
|
761 |
$res = $this->getBdd()->recuperer($req);
|
762 |
$res = $this->getBdd()->recuperer($req . ' -- ' . __FILE__ . ':' . __LINE__);
|
762 |
if ($res) {
|
763 |
if ($res) {
|
763 |
$nom['nom_sci'] = $res['nom_sci'];
|
764 |
$nom['nom_sci'] = $res['nom_sci'];
|
764 |
$nom['nom_sci_html'] = $res['nom_sci_html'];
|
765 |
$nom['nom_sci_html'] = $res['nom_sci_html'];
|
765 |
$nom['nom_sci_complet'] = $res['nom_sci'].' '.$this->ajouterCompositionNom($res);
|
766 |
$nom['nom_sci_complet'] = $res['nom_sci'].' '.$this->ajouterCompositionNom($res);
|
766 |
$nom['nom_sci_complet_html'] = $res['nom_sci_html'].' '.$this->ajouterCompositionNom($res, 'htm');
|
767 |
$nom['nom_sci_complet_html'] = $res['nom_sci_html'].' '.$this->ajouterCompositionNom($res, 'htm');
|