'.get_string('tablex', 'dbtransfer', $table);
$details .= '
';
foreach ($items as $item) {
$details .= '- '.$item.'
';
}
$details .= '
';
}
throw new dbtransfer_exception('exportschemaexception', $details);
}
$tables = $this->schema->getTables();
$this->begin_database_export($CFG->version, $CFG->release, date('c'), $description);
foreach ($tables as $table) {
$rs = $this->mdb->export_table_recordset($table->getName());
if (!$rs) {
throw new ddl_table_missing_exception($table->getName());
}
$this->begin_table_export($table);
foreach ($rs as $row) {
$this->export_table_data($table, $row);
}
$this->finish_table_export($table);
$rs->close();
}
$this->finish_database_export();
}
}