Subversion Repositories eFlore/Applications.del

Rev

Rev 923 | Rev 950 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 923 Rev 927
Line 186... Line 186...
186
		foreach ($commentaires as $id => $commentaire) {
186
		foreach ($commentaires as $id => $commentaire) {
187
			$nouveauCommentaire = array();
187
			$nouveauCommentaire = array();
188
			foreach ($this->mappingCommentaire as $nomOriginal => $nomFinal) {
188
			foreach ($this->mappingCommentaire as $nomOriginal => $nomFinal) {
189
				$nouveauCommentaire[$nomFinal] = $commentaire[$nomOriginal];
189
				$nouveauCommentaire[$nomFinal] = $commentaire[$nomOriginal];
190
			}
190
			}
191
			$retourCommentaires[] = $nouveauCommentaire;
191
			$retourCommentaires[$nouveauCommentaire['id_commentaire']] = $nouveauCommentaire;
192
		}
192
		}
Line 193... Line 193...
193
		
193
		
194
		return $retourCommentaires;
194
		return $retourCommentaires;