Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
xml_output Class Reference

This abstract class outputs XML contents provided by @xml_writer. More...

Inheritance diagram for xml_output:
file_xml_output memory_xml_output

Public Member Functions

 __construct ($usebuffer=true)
 
 debug_info ()
 
 set_buffersize ($buffersize)
 
 start ()
 
 stop ()
 
 write ($content)
 Get contents from @xml_writer and buffer/output them.
 

Public Attributes

const DEFAULT_BUFFER_SIZE = 4096
 

Protected Member Functions

 finish ()
 
 init ()
 
 send ($content)
 

Protected Attributes

 $buffersize
 
 $currentbuffer
 
 $currentbuffersize
 
 $inittime
 
 $running
 
 $sentbytes
 
 $usebuffer
 

Detailed Description

This abstract class outputs XML contents provided by @xml_writer.

Contains the common functionalities for all the xml_output_xxx classes and the interface for them. Mainly it's in charge of:

TODO: Finish phpdocs


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