Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1836 → Rev 1837

/trunk/services/modules/0.1/commentaires/ConsulterCommentaire.php
45,7 → 45,7
 
// Mettre en forme le résultat et l'envoyer pour affichage*/
$resultat = new ResultatService();
$resultat->corps = array('entete' => $this->navigation->getEntete(), 'resultats' => $commentaire);
$resultat->corps = $commentaire;
 
return $resultat;
}
66,9 → 66,8
 
private function formaterCommentaires($infos) {
$retour = array();
$idCommentaire = $infos['id_commentaire'];
foreach ($this->mapping as $nomChampBdd => $nomAttributSortie) {
$retour[$idCommentaire][$nomAttributSortie] = $infos[$nomChampBdd];
$retour[$nomAttributSortie] = $infos[$nomChampBdd];
}
return $retour;
}