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


Public Member Functions | |
| __construct ($restoreid) | |
| process_cdata ($cdata) | |
Protected Member Functions | |
| dispatch_chunk ($data) | |
| notify_path_start ($path) | |
| notify_path_end ($path) | |
Protected Attributes | |
| $restoreid | |
| $lastcatid | |
helper implementation of grouped_parser_processor that will load all the categories and questions (header info only) from then questions.xml file to the backup_ids table storing the whole structure there for later processing. Note: only "needed" categories are loaded (must have question_categoryref record in backup_ids) Note: parentitemid will contain the category->contextid for categories Note: parentitemid will contain the category->id for questions
TODO: Complete phpdocs
Definition at line 37 of file restore_questions_parser_processor.class.php.
| __construct | ( | $ | restoreid | ) |
Definition at line 42 of file restore_questions_parser_processor.class.php.

| dispatch_chunk | ( | $ | data | ) | [protected] |
Get the already simplified chunk and dispatch it
Reimplemented from simplified_parser_processor.
Definition at line 51 of file restore_questions_parser_processor.class.php.

| notify_path_end | ( | $ | path | ) | [protected] |
Get one selected path and notify about end
Reimplemented from simplified_parser_processor.
Definition at line 82 of file restore_questions_parser_processor.class.php.
| notify_path_start | ( | $ | path | ) | [protected] |
Get one selected path and notify about start
Reimplemented from simplified_parser_processor.
Definition at line 78 of file restore_questions_parser_processor.class.php.
| process_cdata | ( | $ | cdata | ) |
Provide NULL decoding
Reimplemented from progressive_parser_processor.
Definition at line 89 of file restore_questions_parser_processor.class.php.
$lastcatid [protected] |
Definition at line 40 of file restore_questions_parser_processor.class.php.
$restoreid [protected] |
Definition at line 39 of file restore_questions_parser_processor.class.php.