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


Protected Member Functions | |
| get_parser () | |
| tag_open ($parser, $tag, $attributes) | |
| tag_close ($parser, $tag) | |
| cdata ($parser, $cdata) | |
Protected Attributes | |
| $current_table | |
| $current_row | |
| $current_field | |
| $current_data | |
| $current_data_is_null | |
XML format importer class (uses SAX for speed and low memory footprint). Provides logic for parsing XML data and calling appropriate callbacks. Subclasses should define XML data sources.
Definition at line 35 of file xml_database_importer.php.
| cdata | ( | $ | parser, |
| $ | cdata | ||
| ) | [protected] |
Callback function. Called by the XML parser for character data processing.
| resource | $parser | XML parser resource. |
| string | $data | character data to be processed |
Definition at line 153 of file xml_database_importer.php.
| get_parser | ( | ) | [protected] |
Creates and setups a SAX parser. Subclasses should use this method to create the XML parser.
Definition at line 48 of file xml_database_importer.php.

| tag_close | ( | $ | parser, |
| $ | tag | ||
| ) | [protected] |
Callback function. Called by the XML parser for closing tags processing.
| resource | $parser | XML parser resource. |
| string | $tag | name of opening tag |
Definition at line 113 of file xml_database_importer.php.

| tag_open | ( | $ | parser, |
| $ | tag, | ||
| $ | attributes | ||
| ) | [protected] |
Callback function. Called by the XML parser for opening tags processing.
| resource | $parser | XML parser resource. |
| string | $tag | name of opening tag |
| array | $attributes | set of opening tag XML attributes |
Definition at line 65 of file xml_database_importer.php.

$current_data [protected] |
Definition at line 39 of file xml_database_importer.php.
$current_data_is_null [protected] |
Definition at line 40 of file xml_database_importer.php.
$current_field [protected] |
Definition at line 38 of file xml_database_importer.php.
$current_row [protected] |
Definition at line 37 of file xml_database_importer.php.
$current_table [protected] |
Definition at line 36 of file xml_database_importer.php.