public function archiveArticle() { $article_id = intval($this->request->postVar('id')); $type = $this->request->postVar('type'); $old_rank = intval($this->request->postVar('old_rank')); $this->news_manager->archiveNewsArticle($article_id); $this->news_manager->sortNewsArticles($article_id, 0, $old_rank, false, true, $type); }