public function toModel($row) { $commentaire = new Application_Model_Commentaire(); $commentaire->setId($row->idcommentaire)->setNoteCommentaire($row->note_commentaire)->setComCommentaire($row->com_commentaire)->setCreated($row->created); return $commentaire; }