class JDatabaseImporterMysqli extends JDatabaseImporter

MySQLi import driver.

Methods

__construct()

Constructor.

asXml()

Set the output option for the exporter to XML format.

check()

Checks if all data and options are in order prior to exporting.

from( mixed $from)

Specifies the data source to import.

void
mergeStructure()

Merges the incoming structure definition with the existing structure.

setDbo( JDatabaseDriver $db)

Sets the database connector to use for exporting structure and/or data.

withStructure( boolean $setting = true)

Sets an internal option to merge the structure based on the input data.

Details

__construct()

Constructor.

Sets up the default options for the exporter.

JDatabaseImporter asXml()

Set the output option for the exporter to XML format.

Return Value

JDatabaseImporter Method supports chaining.

JDatabaseImporter check()

Checks if all data and options are in order prior to exporting.

Return Value

JDatabaseImporter Method supports chaining.

Exceptions

Exception if an error is encountered.

JDatabaseImporter from( mixed $from)

Specifies the data source to import.

Parameters

mixed $from The data source to import.

Return Value

JDatabaseImporter Method supports chaining.

void mergeStructure()

Merges the incoming structure definition with the existing structure.

Return Value

void

Exceptions

RuntimeException on error.

JDatabaseImporter setDbo( JDatabaseDriver $db)

Sets the database connector to use for exporting structure and/or data.

Parameters

JDatabaseDriver $db The database connector.

Return Value

JDatabaseImporter Method supports chaining.

JDatabaseImporter withStructure( boolean $setting = true)

Sets an internal option to merge the structure based on the input data.

Parameters

boolean $setting True to export the structure, false to not.

Return Value

JDatabaseImporter Method supports chaining.