Exemple #1
0
 public static function deleteArticle($id)
 {
     $model = new self(array());
     $model->article = ArticleGateway::deleteArticle($model->dataError, $id);
     $model->title = "Article supprimée";
     return $model;
 }
 public static function deleteArticle($id)
 {
     $model = new ModelArticle();
     $model->setData(ArticleGateway::deleteArticle($model->error, $id));
     return $model;
 }