JDatabaseExporterMySQLi: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m moving preparation |
||
| Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
|[[JDatabaseExporterMySQLi::__construct | |[[API17:JDatabaseExporterMySQLi::__construct|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
|[[JDatabaseExporterMySQLi::__toString | |[[API17:JDatabaseExporterMySQLi::__toString|__toString]] | ||
|Magic function to exports the data to a string. | |Magic function to exports the data to a string. | ||
|- | |- | ||
|public | |public | ||
|[[JDatabaseExporterMySQLi::asXml | |[[API17:JDatabaseExporterMySQLi::asXml|asXml]] | ||
|Set the output option for the exporter to XML format. | |Set the output option for the exporter to XML format. | ||
|- | |- | ||
|public | |public | ||
|[[JDatabaseExporterMySQLi::check | |[[API17:JDatabaseExporterMySQLi::check|check]] | ||
|Checks if all data and options are in order prior to exporting. | |Checks if all data and options are in order prior to exporting. | ||
|- | |- | ||
|public | |public | ||
|[[JDatabaseExporterMySQLi::from | |[[API17:JDatabaseExporterMySQLi::from|from]] | ||
|Specifies a list of table names to export. | |Specifies a list of table names to export. | ||
|- | |- | ||
|public | |public | ||
|[[JDatabaseExporterMySQLi::setDbo | |[[API17:JDatabaseExporterMySQLi::setDbo|setDbo]] | ||
|Sets the database connector to use for exporting structure and/or data from MySQL. | |Sets the database connector to use for exporting structure and/or data from MySQL. | ||
|- | |- | ||
|public | |public | ||
|[[JDatabaseExporterMySQLi::withStructure | |[[API17:JDatabaseExporterMySQLi::withStructure|withStructure]] | ||
|Sets an internal option to export the structure of the input table(s). | |Sets an internal option to export the structure of the input table(s). | ||
|- | |- | ||
|protected | |protected | ||
|[[JDatabaseExporterMySQLi::buildXml | |[[API17:JDatabaseExporterMySQLi::buildXml|buildXml]] | ||
|Builds the XML data for the tables to export. | |Builds the XML data for the tables to export. | ||
|- | |- | ||
|protected | |protected | ||
|[[JDatabaseExporterMySQLi::buildXmlStructure | |[[API17:JDatabaseExporterMySQLi::buildXmlStructure|buildXmlStructure]] | ||
|Builds the XML structure to export. | |Builds the XML structure to export. | ||
|- | |- | ||
|protected | |protected | ||
|[[JDatabaseExporterMySQLi::getColumns | |[[API17:JDatabaseExporterMySQLi::getColumns|getColumns]] | ||
|Get the details list of columns for a table. | |Get the details list of columns for a table. | ||
|- | |- | ||
|protected | |protected | ||
|[[JDatabaseExporterMySQLi::getGenericTableName | |[[API17:JDatabaseExporterMySQLi::getGenericTableName|getGenericTableName]] | ||
|Get the generic name of the table, converting the database prefix to the wildcard string. | |Get the generic name of the table, converting the database prefix to the wildcard string. | ||
|- | |- | ||
|protected | |protected | ||
|[[JDatabaseExporterMySQLi::getKeys | |[[API17:JDatabaseExporterMySQLi::getKeys|getKeys]] | ||
|Get the details list of keys for a table. | |Get the details list of keys for a table. | ||
|- | |- | ||
| Line 67: | Line 67: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseExporterMySQLi source code''' on [[jplatform:database/database/mysqliexporter.php|BitBucket]] | * {{JVer|11.1}} '''JDatabaseExporterMySQLi source code''' on [[jplatform:database/database/mysqliexporter.php|BitBucket]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] | ||
* [[JDatabaseExporterMySQLi|Other versions of JDatabaseExporterMySQLi]] | * [[API17:JDatabaseExporterMySQLi|Other versions of JDatabaseExporterMySQLi]] | ||
{{SeeAlso:JDatabaseExporterMySQLi}} | {{SeeAlso:JDatabaseExporterMySQLi}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 01:04, 12 May 2013
JDatabaseExporterMySQLi
Description
Template:Description:JDatabaseExporterMySQLi [Edit Descripton]
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
Template:SeeAlso:JDatabaseExporterMySQLi [Edit See Also]
User contributed notes
<CodeExamplesForm />