/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,8 → 623,13 |
$this->ajouterChampsPersonnalises($champs, $reponse_id); |
$retour = array_merge($retour, $this->table_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,8 → 708,13 |
$this->ajouterChampsPersonnalises($champs, $reponse_id); |
$retour = array_merge($retour, $this->table_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,8 → 623,13 |
$this->ajouterChampsPersonnalises($champs, $reponse_id); |
$retour = array_merge($retour, $this->table_retour); |
} |
if ($modeListe) { |
$retour['num_nom'] = intval($num); |
$noms[] = $retour; |
} else { |
$noms[$num] = $retour; |
} |
} |
return $noms; |
} |