public function save_main_parent() { $id_article = $this->input->post('id_article'); $id_page = $this->input->post('id_page'); $return = $this->article_model->save_main_parent($id_article, $id_page); if ($return) { // Clear the cache Cache()->clear_cache(); $this->callback[] = array('fn' => 'ION.notification', 'args' => array('success', lang('ionize_message_article_main_parent_saved'))); $this->response(); } else { $this->error(lang('ionize_message_operation_nok')); } }