JDatabaseExporterMySQLi: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseExporterMySQLi== | =={{JVer|11.1}} JDatabaseExporterMySQLi== | ||
===Description=== | ===Description=== | ||
===Methods=== | ===Methods=== | ||
| Line 67: | Line 67: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] | ||
* [[API17:JDatabaseExporterMySQLi|Other versions of JDatabaseExporterMySQLi]] | * [[API17:JDatabaseExporterMySQLi|Other versions of JDatabaseExporterMySQLi]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseExporterMySQLi | category=JDatabaseExporterMySQLi | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Latest revision as of 02:35, 25 March 2017
JDatabaseExporterMySQLi
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/mysqliexporter.php
Importing
jimport( 'joomla.database.database.mysqliexporter' );
See also
JDatabaseExporterMySQLi source code on BitBucket
Subpackage Database- Other versions of JDatabaseExporterMySQLi
User contributed notes
Code Examples