function match_schema($sid) { $ktrManagers = unserialize($_SESSION["ktrArguments_{$sid}"]["ktrManagers"]); foreach ($ktrManagers as $filename => $ktrManager) { $filename_baseheaders[$filename] = $_SESSION["ktrArguments_{$sid}"][$filename]['baseHeader']; } $_SESSION["ktrArguments_{$sid}"]["ktrManagers"] = serialize($ktrManagers); echo UtilsForWizard::PrintTableForDataMatchingStep($filename_baseheaders); }
function PrintTableForDataMatchingStep($sid, DatabaseHandler $dbHandler) { $selectedTables = $_POST["selectedTables"]; $tablesColumns = $dbHandler->getColumnsForSelectedTables($selectedTables); $baseHeader = $tablesColumns; $_SESSION['$normalizer_header'] = $baseHeader; echo UtilsForWizard::PrintTableForDataMatchingStep($baseHeader); }