|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| __construct ($usebuffer=true) | |
| set_buffersize ($buffersize) | |
| start () | |
| stop () | |
| write ($content) | |
| debug_info () | |
Data Fields | |
| const | DEFAULT_BUFFER_SIZE = 4096 |
Protected Member Functions | |
| init () | |
| finish () | |
| send ($content) | |
Protected Attributes | |
| $inittime | |
| $sentbytes | |
| $usebuffer | |
| $buffersize | |
| $currentbuffer | |
| $currentbuffersize | |
| $running | |
This abstract class outputs XML contents provided by
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
Definition at line 38 of file xml_output.class.php.
| __construct | ( | $ | usebuffer = true | ) |
Definition at line 52 of file xml_output.class.php.
| debug_info | ( | ) |
Definition at line 135 of file xml_output.class.php.
| finish | ( | ) | [abstract, protected] |
Reimplemented in file_xml_output, and memory_xml_output.

| init | ( | ) | [abstract, protected] |
Reimplemented in memory_xml_output, and file_xml_output.

| send | ( | $ | content | ) | [abstract, protected] |
Reimplemented in file_xml_output, and memory_xml_output.

| set_buffersize | ( | $ | buffersize | ) |
Definition at line 63 of file xml_output.class.php.
| start | ( | ) |
| stop | ( | ) |
| write | ( | $ | content | ) |
Get contents from and buffer/output them
Definition at line 106 of file xml_output.class.php.

$buffersize [protected] |
Definition at line 46 of file xml_output.class.php.
$currentbuffer [protected] |
Definition at line 47 of file xml_output.class.php.
$currentbuffersize [protected] |
Definition at line 48 of file xml_output.class.php.
$inittime [protected] |
Definition at line 42 of file xml_output.class.php.
$running [protected] |
Definition at line 50 of file xml_output.class.php.
$sentbytes [protected] |
Definition at line 43 of file xml_output.class.php.
$usebuffer [protected] |
Definition at line 45 of file xml_output.class.php.
| const DEFAULT_BUFFER_SIZE = 4096 |
Definition at line 40 of file xml_output.class.php.