コード例 #1
0
 public static function deleteCommentaire($idCom)
 {
     $model = new self(array());
     $model->commentaire = CommentaireGateway::deleteCommentaire($model->dataError, $idCom);
     $model->title = "Commentaire supprimée";
     return $model->commentaire;
 }
コード例 #2
0
 public static function deleteCommentaire($id)
 {
     $model = new ModelCommentaire();
     $model->setData(CommentaireGateway::deleteCommentaire($model->error, $id));
     return $model;
 }