Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 1113 → Rev 1114

/trunk/services/modules/0.1/isfan/Noms.php
604,6 → 604,12
$champs = explode(',', $this->parametres['retour.champs']);
}
 
// Structure des données: objet ou liste ?
$modeListe = false;
if (array_key_exists('retour.structure', $this->parametres)) {
$modeListe = ($this->parametres['retour.structure'] === "liste");
}
 
$noms = array();
foreach ($resultat as $tab) {
$this->table_retour = array();
617,7 → 623,12
$this->ajouterChampsPersonnalises($champs, $reponse_id);
$retour = array_merge($retour, $this->table_retour);
}
$noms[$num] = $retour;
if ($modeListe) {
$retour['num_nom'] = intval($num);
$noms[] = $retour;
} else {
$noms[$num] = $retour;
}
}
 
return $noms;
/trunk/services/modules/0.1/bdtxa/Noms.php
689,6 → 689,12
$champs = explode(',', $this->parametres['retour.champs']);
}
 
// Structure des données: objet ou liste ?
$modeListe = false;
if (array_key_exists('retour.structure', $this->parametres)) {
$modeListe = ($this->parametres['retour.structure'] === "liste");
}
 
$noms = array();
foreach ($resultat as $tab) {
$this->table_retour = array();
702,7 → 708,12
$this->ajouterChampsPersonnalises($champs, $reponse_id);
$retour = array_merge($retour, $this->table_retour);
}
$noms[$num] = $retour;
if ($modeListe) {
$retour['num_nom'] = intval($num);
$noms[] = $retour;
} else {
$noms[$num] = $retour;
}
}
 
return $noms;
/trunk/services/modules/0.1/apd/Noms.php
604,6 → 604,12
$champs = explode(',', $this->parametres['retour.champs']);
}
 
// Structure des données: objet ou liste ?
$modeListe = false;
if (array_key_exists('retour.structure', $this->parametres)) {
$modeListe = ($this->parametres['retour.structure'] === "liste");
}
 
$noms = array();
foreach ($resultat as $tab) {
$this->table_retour = array();
617,7 → 623,12
$this->ajouterChampsPersonnalises($champs, $reponse_id);
$retour = array_merge($retour, $this->table_retour);
}
$noms[$num] = $retour;
if ($modeListe) {
$retour['num_nom'] = intval($num);
$noms[] = $retour;
} else {
$noms[$num] = $retour;
}
}
 
return $noms;