Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Selective progressive_parser_processor that will send chunks straight to output but only for chunks matching (in a left padded way - like) some defined paths. More...
Public Member Functions | |
__construct (array $paths) | |
after_path ($path) | |
The parser fires this each time one path has been parsed. More... | |
before_path ($path) | |
The parser fires this each time one path is going to be parsed. More... | |
debug_info () | |
process_cdata ($cdata) | |
Perform custom transformations in the processed cdata. More... | |
process_chunk ($data) | |
Receive one chunk of information from the parser. More... | |
receive_chunk ($data) | |
Protected Member Functions | |
path_is_selected ($path) | |
Protected Attributes | |
$chunks | |
$inittime | |
$paths | |
Selective progressive_parser_processor that will send chunks straight to output but only for chunks matching (in a left padded way - like) some defined paths.
|
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.
selective_like_parser_processor::process_chunk | ( | $data | ) |
Receive one chunk of information from the parser.
Reimplemented from progressive_parser_processor.