|
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 | |
helper implementation of grouped_parser_processor that will load all the contents of one users.xml file to the backup_ids table storing the whole structure there for later processing. Note: only "needed" users are loaded (must have userref record in backup_ids) Note: parentitemid will contain the user->contextid Note: althought included in backup, we don't restore user context ras/caps in same site they will be already there and it doesn't seem a good idea to make them "transportable" arround sites.
TODO: Complete phpdocs
Definition at line 39 of file restore_users_parser_processor.class.php.
| __construct | ( | $ | restoreid | ) |
Definition at line 43 of file restore_users_parser_processor.class.php.

| dispatch_chunk | ( | $ | data | ) | [protected] |
Get the already simplified chunk and dispatch it
Reimplemented from simplified_parser_processor.
Definition at line 56 of file restore_users_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 73 of file restore_users_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 69 of file restore_users_parser_processor.class.php.
| process_cdata | ( | $ | cdata | ) |
Provide NULL decoding
Reimplemented from progressive_parser_processor.
Definition at line 80 of file restore_users_parser_processor.class.php.
$restoreid [protected] |
Definition at line 41 of file restore_users_parser_processor.class.php.