setcookie('changesetFile', ''); if ($oaSchema->createChangeset($oaSchema->changes_trans, $_POST['comments'])) { header('Content-Type: application/xhtml+xml; charset=ISO-8859-1'); readfile($oaSchema->changes_trans); exit; } } else { if (array_key_exists('btn_changeset_delete', $_POST)) { $oaSchema->deleteChangesTrans(); } else { if (array_key_exists('btn_commit_final', $_POST)) { $oaSchema->commitFinal($_POST['comments'], $_POST['version']); } else { if (array_key_exists('btn_generate_dbo_final', $_POST)) { $oaSchema->setWorkingFiles(); $oaSchema->parseWorkingDefinitionFile(); $oaSchema->_generateDataObjects($oaSchema->changes_final, $oaSchema->_getBasename()); } else { if (array_key_exists('btn_generate_dbo_trans', $_POST)) { $oaSchema->setWorkingFiles(); $oaSchema->parseWorkingDefinitionFile(); $oaSchema->_generateDataObjects($oaSchema->changes_trans, $oaSchema->_getBasename()); } } } } } } } } $oaSchema->setWorkingFiles();