API17:JDatabaseExporterMySQL
From Joomla! Documentation
JDatabaseExporterMySQL
Description
Methods
| 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
jimport( 'joomla.database.database.mysqlexporter' );
See also
JDatabaseExporterMySQL source code on BitBucket
Subpackage Database- Other versions of JDatabaseExporterMySQL
User contributed notes
Code Examples