Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JDatabaseImporterPostgresql
+ Graphe d'héritage de JDatabaseImporterPostgresql:

Fonctions membres publiques

 check ()
 
- Fonctions membres publiques hérités de JDatabaseImporter
 __construct ()
 
 asXml ()
 
 check ()
 
 from ($from)
 
 mergeStructure ()
 
 setDbo (JDatabaseDriver $db)
 
 withStructure ($setting=true)
 

Fonctions membres protégées

 getAddColumnSql ($table, SimpleXMLElement $field)
 
 getAddIndexSql (SimpleXMLElement $field)
 
 getAlterTableSql (SimpleXMLElement $structure)
 
 getDropSequenceSql ($name)
 
 getAddSequenceSql ($field)
 
 getChangeSequenceSql ($field)
 
 getChangeColumnSql ($table, SimpleXMLElement $field)
 
 getAlterColumnSql ($table, $field)
 
 getColumnSql (SimpleXMLElement $field)
 
 getDropIndexSql ($name)
 
 getDropPrimaryKeySql ($table, $name)
 
 getIdxLookup ($keys)
 
 getSeqLookup ($sequences)
 
- Fonctions membres protégées hérités de JDatabaseImporter
 getDropColumnSql ($table, $name)
 
 getRealTableName ($table)
 

Membres hérités additionnels

- Attributs protégés hérités de JDatabaseImporter
 $cache = array()
 
 $db = null
 
 $from = array()
 
 $asFormat = 'xml'
 
 $options = null
 

Description détaillée

PostgreSQL import driver.

Depuis
3.0.0
Obsolète:
4.0 Use PDO PostgreSQL instead

Documentation des fonctions membres

◆ check()

check ( )

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

Renvoie
JDatabaseImporterPostgresql Method supports chaining.
Depuis
3.0.0
Exceptions
Exceptionif an error is encountered.

◆ getAddColumnSql()

getAddColumnSql (   $table,
SimpleXMLElement  $field 
)
protected

Get the SQL syntax to add a column.

Paramètres
string$tableThe table name.
SimpleXMLElement$fieldThe XML field definition.
Renvoie
string
Depuis
3.0.0

Références $field.

◆ getAddIndexSql()

getAddIndexSql ( SimpleXMLElement  $field)
protected

Get the SQL syntax to add an index.

Paramètres
SimpleXMLElement$fieldThe XML index definition.
Renvoie
string
Depuis
3.0.0

Références $field.

◆ getAddSequenceSql()

getAddSequenceSql (   $field)
protected

Get the syntax to add a sequence.

Paramètres
SimpleXMLElement$fieldThe XML definition for the sequence.
Renvoie
string
Depuis
3.0.0

Références $field.

◆ getAlterColumnSql()

getAlterColumnSql (   $table,
  $field 
)
protected

Get the SQL syntax for a single column that would be included in a table create statement.

Paramètres
string$tableThe name of the database table to alter.
SimpleXMLElement$fieldThe XML field definition.
Renvoie
string
Depuis
3.0.0

Références $field, $query, et null.

◆ getAlterTableSql()

getAlterTableSql ( SimpleXMLElement  $structure)
protected

Get alters for table if there is a difference.

Paramètres
SimpleXMLElement$structureThe XML structure of the table.
Renvoie
array
Depuis
3.0.0

Références $field, $i, et $name.

◆ getChangeColumnSql()

getChangeColumnSql (   $table,
SimpleXMLElement  $field 
)
protected

Get the syntax to alter a column.

Paramètres
string$tableThe name of the database table to alter.
SimpleXMLElement$fieldThe XML definition for the field.
Renvoie
string
Depuis
3.0.0

Références $field.

◆ getChangeSequenceSql()

getChangeSequenceSql (   $field)
protected

Get the syntax to alter a sequence.

Paramètres
SimpleXMLElement$fieldThe XML definition for the sequence.
Renvoie
string
Depuis
3.0.0

Références $field.

◆ getColumnSql()

getColumnSql ( SimpleXMLElement  $field)
protected

Get the SQL syntax for a single column that would be included in a table create statement.

Paramètres
SimpleXMLElement$fieldThe XML field definition.
Renvoie
string
Depuis
3.0.0

Références $field, $query, et null.

◆ getDropIndexSql()

getDropIndexSql (   $name)
protected

Get the SQL syntax to drop an index.

Paramètres
string$nameThe name of the key to drop.
Renvoie
string
Depuis
3.0.0

Références $name.

◆ getDropPrimaryKeySql()

getDropPrimaryKeySql (   $table,
  $name 
)
protected

Get the SQL syntax to drop a key.

Paramètres
string$tableThe table name.
string$nameThe constraint name.
Renvoie
string
Depuis
3.0.0

Références $name.

◆ getDropSequenceSql()

getDropSequenceSql (   $name)
protected

Get the SQL syntax to drop a sequence.

Paramètres
string$nameThe name of the sequence to drop.
Renvoie
string
Depuis
3.0.0

Références $name.

◆ getIdxLookup()

getIdxLookup (   $keys)
protected

Get the details list of keys for a table.

Paramètres
array$keysAn array of objects that comprise the keys for the table.
Renvoie
array The lookup array. array({key name} => array(object, ...))
Depuis
3.0.0
Exceptions
Exception

Références $key.

◆ getSeqLookup()

getSeqLookup (   $sequences)
protected

Get the details list of sequences for a table.

Paramètres
array$sequencesAn array of objects that comprise the sequences for the table.
Renvoie
array The lookup array. array({key name} => array(object, ...))
Depuis
3.0.0
Exceptions
Exception

La documentation de cette classe a été générée à partir du fichier suivant :