class JDatabaseExporterPgsql extends JDatabaseExporterPostgresql

PDO PostgreSQL Database Exporter.

Methods

__construct()

Constructor.

string
__toString()

Magic function to exports the data to a string.

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 a list of table names to export.

setDbo( JDatabaseDriver $db)

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

withStructure( boolean $setting = true)

Sets an internal option to export the structure of the input table(s).

Details

__construct()

Constructor.

Sets up the default options for the exporter.

string __toString()

Magic function to exports the data to a string.

Return Value

string

Exceptions

Exception if an error is encountered.

JDatabaseExporter asXml()

Set the output option for the exporter to XML format.

Return Value

JDatabaseExporter Method supports chaining.

JDatabaseDriver check()

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

Return Value

JDatabaseDriver Method supports chaining.

Exceptions

Exception if an error is encountered.

JDatabaseExporter from( mixed $from)

Specifies a list of table names to export.

Parameters

mixed $from The name of a single table, or an array of the table names to export.

Return Value

JDatabaseExporter Method supports chaining.

Exceptions

Exception if input is not a string or array.

JDatabaseExporter setDbo( JDatabaseDriver $db)

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

Parameters

JDatabaseDriver $db The database connector.

Return Value

JDatabaseExporter Method supports chaining.

JDatabaseExporter withStructure( boolean $setting = true)

Sets an internal option to export the structure of the input table(s).

Parameters

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

Return Value

JDatabaseExporter Method supports chaining.