data .= $text; } /** * Returns the output of the exporters * @return string XML data from exporter */ public function get_output() { return $this->data; } /** * Specific implementation for memory exporting the database: it clear the buffer * and calls superclass @see database_exporter::export_database(). * * @exception dbtransfer_exception if any checking (e.g. database schema) fails * @param string $description a user description of the data. * @return void */ public function export_database($description=null) { $this->data = ''; parent::export_database($description); } }