Exemplo n.º 1
0
 public function deleteArticle($numero_series)
 {
     $article = new Model_Article();
     $deleteArticle = $article->deleteArticle($numero_series);
     if (!empty($deleteArticle)) {
         header('Location : /imie/boutique/index.php?c=article&a=list');
     } else {
         var_dump($deleteArticle);
     }
 }
Exemplo n.º 2
0
 public function deleteArticle($id_art)
 {
     $articles = new Model_Article();
     $deleteArticle = $articles->deleteArticle($id_art);
     if (!empty($deleteArticle)) {
         header('Location: /IMIE/Equipedia/admin/index.php?c=admins&a=article');
     } else {
         var_dump($deleteArticle);
     }
 }
Exemplo n.º 3
0
 /**
  * Fonction permettant de supprimer des articles
  * @param  Int $id_articles Id de l'article
  */
 public function deleteArticle($id_articles)
 {
     $articles = new Model_Article();
     $deleteArticle = $articles->deleteArticle($id_articles);
     header('Location: /ecommerce/admin/article/list');
 }