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 JDatabaseImporterPdomysql
+ Graphe d'héritage de JDatabaseImporterPdomysql:

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)
 
 getAddKeySql ($table, $keys)
 
 getAlterTableSql (SimpleXMLElement $structure)
 
 getChangeColumnSql ($table, SimpleXMLElement $field)
 
 getColumnSql (SimpleXMLElement $field)
 
 getDropColumnSql ($table, $name)
 
 getDropKeySql ($table, $name)
 
 getDropPrimaryKeySql ($table)
 
 getKeyLookup ($keys)
 
 getKeySql ($columns)
 
- 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
 

Documentation des fonctions membres

◆ check()

check ( )

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

Renvoie
JDatabaseImporterPdomysql Method supports chaining.
Depuis
3.4
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.4

Références $field.

◆ getAddKeySql()

getAddKeySql (   $table,
  $keys 
)
protected

Get the SQL syntax to add a key.

Paramètres
string$tableThe table name.
array$keysAn array of the fields pertaining to this key.
Renvoie
string
Depuis
3.4

◆ 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.4

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.4

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 or alter statement.

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

Références $field, et null.

◆ getDropColumnSql()

getDropColumnSql (   $table,
  $name 
)
protected

Get the SQL syntax to drop a column.

Paramètres
string$tableThe table name.
string$nameThe name of the field to drop.
Renvoie
string
Depuis
3.4

Références $name.

◆ getDropKeySql()

getDropKeySql (   $table,
  $name 
)
protected

Get the SQL syntax to drop a key.

Paramètres
string$tableThe table name.
string$nameThe name of the key to drop.
Renvoie
string
Depuis
3.4

Références $name.

◆ getDropPrimaryKeySql()

getDropPrimaryKeySql (   $table)
protected

Get the SQL syntax to drop a key.

Paramètres
string$tableThe table name.
Renvoie
string
Depuis
3.4

◆ getKeyLookup()

getKeyLookup (   $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.4
Exceptions
Exception

Références $key.

◆ getKeySql()

getKeySql (   $columns)
protected

Get the SQL syntax for a key.

Paramètres
array$columnsAn array of SimpleXMLElement objects comprising the key.
Renvoie
string
Depuis
3.4

Références $columns, $prefix, et elseif.


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