class JDatabaseExporterMySQL


Located at : UKNOWVA_ROOT/libraries/joomla/database/database/mysqlexporter.php

MySQL export driver.

Methods

string
__toString()

Magic function to exports the data to a string.

asXml()

Set the output option for the exporter to XML format.

check()

Checks if all data and options are in order prior to exporting.

from(mixed $from)

Specifies a list of table names to export.

setDbo(JDatabaseMySQL $db)

Sets the database connector to use for exporting structure and/or data from MySQL.

withStructure(boolean $setting = true)

Sets an internal option to export the structure of the input table(s).

Details

at line 59
JDatabaseExporterMySQL __construct()

Constructor.

Sets up the default options for the exporter.

Return Value

JDatabaseExporterMySQL

at line 86
string __toString()

Magic function to exports the data to a string.

Return Value

string

Exceptions

Exception if an error is encountered.

at line 111
JDatabaseExporterMySQL asXml()

Set the output option for the exporter to XML format.

Return Value

JDatabaseExporterMySQL Method supports chaining.

at line 203
JDatabaseExporterMySQL check()

Checks if all data and options are in order prior to exporting.

Return Value

JDatabaseExporterMySQL Method supports chaining.

Exceptions

Exception if an error is encountered.

at line 306
JDatabaseExporterMySQL from(mixed $from)

Specifies a list of table names to export.

Parameters

mixed $from The name of a single table, or an array of the table names to export.

Return Value

JDatabaseExporterMySQL Method supports chaining.

Exceptions

Exception if input is not a string or array.

at line 330
JDatabaseExporterMySQL setDbo(JDatabaseMySQL $db)

Sets the database connector to use for exporting structure and/or data from MySQL.

Parameters

JDatabaseMySQL $db The database connector.

Return Value

JDatabaseExporterMySQL Method supports chaining.

at line 346
JDatabaseExporterMySQL withStructure(boolean $setting = true)

Sets an internal option to export the structure of the input table(s).

Parameters

boolean $setting True to export the structure, false to not.

Return Value

JDatabaseExporterMySQL Method supports chaining.