JDatabaseExporterMySQL
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabaseExporterMySQL[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | __toString | Magic function to exports the data to a string. |
public | asXml | Set the output option for the exporter to XML format. |
public | check | Checks if all data and options are in order prior to exporting. |
public | from | Specifies a list of table names to export. |
public | setDbo | Sets the database connector to use for exporting structure and/or data from MySQL. |
public | withStructure | Sets an internal option to export the structure of the input table(s). |
protected | buildXml | Builds the XML data for the tables to export. |
protected | buildXmlStructure | Builds the XML structure to export. |
protected | getColumns | Get the details list of columns for a table. |
protected | getGenericTableName | Get the generic name of the table, converting the database prefix to the wildcard string. |
protected | getKeys | Get the details list of keys for a table. |
- Defined in libraries/joomla/database/database/mysqlexporter.php
Importing[edit]
jimport( 'joomla.database.database.mysqlexporter' );
See also[edit]
- JDatabaseExporterMySQL source code on BitBucket
- Subpackage Database
- Other versions of JDatabaseExporterMySQL
User contributed notes[edit]
Code Examples[edit]