|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($data, moodle_database $mdb, $check_schema=true) | |
| import_database () | |
Protected Attributes | |
| $data | |
XML format importer class from memory storage (i.e. string).
Definition at line 33 of file string_xml_database_importer.php.
| __construct | ( | $ | data, |
| moodle_database $ | mdb, | ||
| $ | check_schema = true |
||
| ) |
Object constructor.
| string | data - string with XML data | |
| moodle_database | $mdb | Connection to the target database |
| boolean | $check_schema | - whether or not to check that XML database |
Definition at line 46 of file string_xml_database_importer.php.
| import_database | ( | ) |
Common import method: it creates the parser, feeds the XML parser with data, releases the parser.
Reimplemented from database_importer.
Definition at line 56 of file string_xml_database_importer.php.

$data [protected] |
String with XML data.
Definition at line 35 of file string_xml_database_importer.php.