Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Simple progressive_parser_processor that will send chunks straight to output. More...
Public Member Functions | |
after_path ($path) | |
The parser fires this each time one path has been parsed. | |
before_path ($path) | |
The parser fires this each time one path is going to be parsed. | |
debug_info () | |
process_cdata ($cdata) | |
Perform custom transformations in the processed cdata. | |
process_chunk ($data) | |
Receive one chunk of information from the parser. | |
receive_chunk ($data) | |
Protected Attributes | |
$chunks | |
$inittime | |
Simple progressive_parser_processor that will send chunks straight to output.
Useful for testing, compare memory use/execution time.
|
inherited |
The parser fires this each time one path has been parsed.
Reimplemented in grouped_parser_processor, and simplified_parser_processor.
|
inherited |
The parser fires this each time one path is going to be parsed.
Reimplemented in grouped_parser_processor, and simplified_parser_processor.
|
inherited |
Perform custom transformations in the processed cdata.
Reimplemented in moodle1_parser_processor, restore_questions_parser_processor, restore_roles_parser_processor, restore_structure_parser_processor, and restore_users_parser_processor.
simple_parser_processor::process_chunk | ( | $data | ) |
Receive one chunk of information from the parser.
Reimplemented from progressive_parser_processor.