Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
simple_parser_processor Class Reference

Simple progressive_parser_processor that will send chunks straight to output. More...

Inheritance diagram for simple_parser_processor:
progressive_parser_processor

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
 

Detailed Description

Simple progressive_parser_processor that will send chunks straight to output.

Useful for testing, compare memory use/execution time.


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