Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
check () | |
Fonctions membres publiques hérités de DatabaseImporter | |
__construct () | |
asXml () | |
check () | |
from ($from) | |
importData () | |
mergeStructure () | |
setDbo (DatabaseInterface $db) | |
withStructure ($setting=true) | |
Fonctions membres protégées | |
getAddIndexSql (\SimpleXMLElement $field) | |
getAlterTableSql (\SimpleXMLElement $structure) | |
getDropSequenceSql ($name) | |
getAddSequenceSql (\SimpleXMLElement $field) | |
getChangeSequenceSql (\SimpleXMLElement $field) | |
getSetvalSequenceSql ($field) | |
getChangeColumnSql ($table, \SimpleXMLElement $field) | |
getAlterColumnSql ($table, \SimpleXMLElement $field) | |
getColumnSql (\SimpleXMLElement $field) | |
getDropIndexSql ($name) | |
getDropPrimaryKeySql ($table, $name) | |
getKeyLookup ($keys) | |
getAddUniqueSql ($table, $key) | |
getSeqLookup ($sequences) | |
xmlToCreate (\SimpleXMLElement $table) | |
Fonctions membres protégées hérités de DatabaseImporter | |
getAddColumnSql ($table, \SimpleXMLElement $field) | |
getAlterTableSql (\SimpleXMLElement $structure) | |
getChangeColumnSql ($table, \SimpleXMLElement $field) | |
getDropColumnSql ($table, $name) | |
getKeyLookup ($keys) | |
getRealTableName ($table) | |
xmlToCreate (\SimpleXMLElement $table) | |
Membres hérités additionnels | |
Attributs protégés hérités de DatabaseImporter | |
$cache = ['columns' => [] | |
$db | |
$from = [] | |
$asFormat = 'xml' | |
$options | |
PDO PostgreSQL Database Importer.
check | ( | ) |
Checks if all data and options are in order prior to exporting.
Références $this, et DatabaseImporter\from().
|
protected |
Get the SQL syntax to add an index.
\SimpleXMLElement | $field | The XML index definition. |
Références $field.
|
protected |
Get the syntax to add a sequence.
\SimpleXMLElement | $field | The XML definition for the sequence. |
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the SQL syntax to add a unique constraint for a table key.
string | $table | The table name. |
array | $key | The key. |
|
protected |
Get the SQL syntax for a single column that would be included in a table create statement.
string | $table | The name of the database table to alter. |
\SimpleXMLElement | $field | The XML field definition. |
|
protected |
Get alters for table if there is a difference.
\SimpleXMLElement | $structure | The XML structure of the table. |
Références $field, $i, $name, DatabaseImporter\getAddColumnSql(), PgsqlImporter\getAddSequenceSql(), PgsqlImporter\getChangeColumnSql(), PgsqlImporter\getChangeSequenceSql(), DatabaseImporter\getDropColumnSql(), PgsqlImporter\getDropIndexSql(), PgsqlImporter\getDropPrimaryKeySql(), PgsqlImporter\getDropSequenceSql(), PgsqlImporter\getKeyLookup(), DatabaseImporter\getRealTableName(), PgsqlImporter\getSeqLookup(), et PgsqlImporter\getSetvalSequenceSql().
|
protected |
Get the syntax to alter a column.
string | $table | The name of the database table to alter. |
\SimpleXMLElement | $field | The XML definition for the field. |
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the syntax to alter a sequence.
\SimpleXMLElement | $field | The XML definition for the sequence. |
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the SQL syntax for a single column that would be included in a table create statement.
\SimpleXMLElement | $field | The XML field definition. |
|
protected |
Get the SQL syntax to drop an index.
string | $name | The name of the key to drop. |
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the SQL syntax to drop a key.
string | $table | The table name. |
string | $name | The constraint name. |
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the SQL syntax to drop a sequence.
string | $name | The name of the sequence to drop. |
Références $name.
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the details list of keys for a table.
array | $keys | An array of objects that comprise the keys for the table. |
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the details list of sequences for a table.
array | $sequences | An array of objects that comprise the sequences for the table. |
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the syntax to setval a sequence.
\SimpleXMLElement | $field | The XML definition for the sequence. |
Références $field.
Référencé par PgsqlImporter\getAlterTableSql().
|
protected |
Get the SQL syntax to add a table.
\SimpleXMLElement | $table | The table information. |