/** * UnLinks one extend field from his logical parent element context */ public function unlink_from_context() { $id_extend_field = $this->input->post('id_extend_field'); $context = $this->input->post('context'); $id_context = $this->input->post('id_context'); $this->extend_field_model->unlink_from_context($id_extend_field, $context, $id_context); // Send answer $this->success(lang('ionize_message_operation_ok')); }