示例#1
0
 public function update_categories()
 {
     $id_article = $this->input->post('id_article');
     if ($id_article) {
         $this->article_model->join_items_keys_to('category', $this->input->post('categories'), 'article', $id_article);
         $this->callback[] = array('fn' => 'ION.notification', 'args' => array('success', lang('ionize_message_article_saved')));
         $this->response();
     }
 }