General database export class
Copyright: | 2008 Andrei Bautu |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 165 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
database_exporter:: (2 methods):
__construct()
export_database()
Class: database_exporter - X-Ref
Base class for database export operations. This class defines basic callbacks__construct(moodle_database $mdb, $check_schema=true) X-Ref |
Object constructor. param: moodle_database $mdb Connection to the source database (a param: boolean $check_schema - whether or not to check that XML database |
export_database($description=null) X-Ref |
Generic method to export the database. It checks the schema (if param: string $description a user description of the data. |