Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
file_xml_output Class Reference

This class implements one @xml_output able to send contents to one OS file. More...

Inheritance diagram for file_xml_output:
xml_output

Public Member Functions

 __construct ($fullpath, $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
 
 $fhandle
 
string float $finishtime
 finish microtime.
 
 $fullpath
 
 $inittime
 
 $running
 
 $sentbytes
 
 $usebuffer
 

Detailed Description

This class implements one @xml_output able to send contents to one OS file.

Buffering enabled by default (can be disabled)

TODO: Finish phpdocs

Member Function Documentation

◆ finish()

file_xml_output::finish ( )
protected

Reimplemented from xml_output.

◆ init()

file_xml_output::init ( )
protected

Reimplemented from xml_output.

◆ send()

file_xml_output::send ( $content)
protected

Reimplemented from xml_output.


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