Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
selective_exact_parser_processor Class Reference

Selective progressive_parser_processor that will send chunks straight to output but only for chunks matching (in an exact way) some defined paths. More...

Inheritance diagram for selective_exact_parser_processor:

Public Member Functions

 __construct (array $paths)
 
 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 Member Functions

 path_is_selected ($path)
 

Protected Attributes

 $chunks
 
 $inittime
 
 $paths
 

Detailed Description

Selective progressive_parser_processor that will send chunks straight to output but only for chunks matching (in an exact way) some defined paths.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ after_path()

progressive_parser_processor::after_path ( $path)
inherited

The parser fires this each time one path has been parsed.

Reimplemented in grouped_parser_processor, and simplified_parser_processor.

◆ before_path()

progressive_parser_processor::before_path ( $path)
inherited

The parser fires this each time one path is going to be parsed.

Reimplemented in grouped_parser_processor, and simplified_parser_processor.

◆ process_cdata()

progressive_parser_processor::process_cdata ( $cdata)
inherited

◆ process_chunk()

selective_exact_parser_processor::process_chunk ( $data)

Receive one chunk of information from the parser.

Reimplemented from progressive_parser_processor.


The documentation for this class was generated from the following file: