/** * Deletes a form from the entry tables. * @param I2CE_Form $form * @param boolean $transact: a flag to use transactions or not. default: true * @return boolean */ public function delete($form, $transact) { I2CE::raiseError("Delete not implemented"); $form_name = $form->getName(); if (!$this->init_data($form_name)) { return false; } $form_xml = $form->getXMLRepresentation()->ownerDocument; if (($out_message = $this->process_transform($form_name, 'delete', 'out', $form_xml, true)) === false) { I2CE::raiseError("Could not transform out going message"); return false; } $in_message = $this->call_service($form_name, 'delete', $out_message); $this->clear_service_cache($form_name); return true; }