Moodle  2.2.1
http://www.collinsharper.com
restore_roles_parser_processor Class Reference
Inheritance diagram for restore_roles_parser_processor:
Collaboration diagram for restore_roles_parser_processor:

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

Detailed Description

helper implementation of grouped_parser_processor that will load all the contents of one roles.xml (roles description) file to the backup_ids table storing the whole structure there for later processing. Note: only "needed" roles are loaded (must have roleref record in backup_ids)

TODO: Complete phpdocs

Definition at line 35 of file restore_roles_parser_processor.class.php.


Constructor & Destructor Documentation

__construct ( restoreid)

Definition at line 39 of file restore_roles_parser_processor.class.php.

Here is the call graph for this function:


Member Function Documentation

dispatch_chunk ( data) [protected]

Get the already simplified chunk and dispatch it

Reimplemented from simplified_parser_processor.

Definition at line 46 of file restore_roles_parser_processor.class.php.

Here is the call graph for this function:

notify_path_end ( path) [protected]

Get one selected path and notify about end

Reimplemented from simplified_parser_processor.

Definition at line 62 of file restore_roles_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 58 of file restore_roles_parser_processor.class.php.

process_cdata ( cdata)

Provide NULL decoding

Reimplemented from progressive_parser_processor.

Definition at line 69 of file restore_roles_parser_processor.class.php.


Field Documentation

$restoreid [protected]

Definition at line 37 of file restore_roles_parser_processor.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations