JDatabaseImporterMySQLi
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.
JDatabaseImporterMySQLi[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
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 the data source to import. |
public | setDbo | Sets the database connector to use for exporting structure and/or data from MySQL. |
public | withStructure | Sets an internal option to merge the structure based on the input data. |
protected | getAddColumnSQL | Get the SQL syntax to add a column. |
protected | getAddKeySQL | Get the SQL syntax to add a key. |
protected | getAlterTableSQL | Get alters for table if there is a difference. |
protected | getChangeColumnSQL | Get the syntax to alter a column. |
protected | getColumns | Get the details list of columns for a table. |
protected | getColumnSQL | Get the SQL syntax for a single column that would be included in a table create or alter statement. |
protected | getDropColumnSQL | Get the SQL syntax to drop a column. |
protected | getDropKeySQL | Get the SQL syntax to drop a key. |
protected | getDropPrimaryKeySQL | Get the SQL syntax to drop a key. |
protected | getKeyLookup | Get the details list of keys for a table. |
protected | getKeys | Get the details list of keys for a table. |
protected | getKeySQL | Get the SQL syntax for a key. |
protected | getRealTableName | Get the real name of the table, converting the prefix wildcard string if present. |
protected | mergeStructure | Merges the incoming structure definition with the existing structure. |
- Defined in libraries/joomla/database/database/mysqliimporter.php
Importing[edit]
jimport( 'joomla.database.database.mysqliimporter' );
See also[edit]
JDatabaseImporterMySQLi source code on BitBucket
Subpackage Database
- Other versions of JDatabaseImporterMySQLi
User contributed notes[edit]
Code Examples[edit]