Moodle  2.2.1
http://www.collinsharper.com
string_xml_database_exporter Class Reference
Inheritance diagram for string_xml_database_exporter:
Collaboration diagram for string_xml_database_exporter:

Public Member Functions

 get_output ()
 export_database ($description=null)

Protected Member Functions

 output ($text)

Protected Attributes

 $data

Detailed Description

XML format exporter class to memory storage (i.e. a string).

Definition at line 33 of file string_xml_database_exporter.php.


Member Function Documentation

export_database ( description = null)

Specific implementation for memory exporting the database: it clear the buffer and calls superclass

See also:
database_exporter::export_database().
Exceptions:
dbtransfer_exceptionif any checking (e.g. database schema) fails
Parameters:
string$descriptiona user description of the data.
Returns:
void

Reimplemented from database_exporter.

Definition at line 60 of file string_xml_database_exporter.php.

Returns the output of the exporters

Returns:
string XML data from exporter

Definition at line 48 of file string_xml_database_exporter.php.

output ( text) [protected]

Specific output method for the memory XML sink.

Reimplemented from xml_database_exporter.

Definition at line 40 of file string_xml_database_exporter.php.


Field Documentation

$data [protected]

String with XML data.

Definition at line 35 of file string_xml_database_exporter.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations