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

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

 xmlToCreate (SimpleXMLElement $table)
 
 getAddColumnSql ($table, SimpleXMLElement $field)
 
 getAddKeySql ($table, $keys)
 
 getAlterTableSql (SimpleXMLElement $structure)
 
 getChangeColumnSql ($table, SimpleXMLElement $field)
 
 getColumnSql (SimpleXMLElement $field)
 
 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
 

Description détaillée

MySQLi import driver.

Depuis
1.7.0

Documentation des fonctions membres

◆ check()

check ( )

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

Renvoie
JDatabaseImporterMysqli Method supports chaining.
Depuis
1.7.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
1.7.0

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
1.7.0

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

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

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

◆ 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
1.7.0

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
1.7.0

◆ 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
1.7.0
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
1.7.0

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

◆ xmlToCreate()

xmlToCreate ( SimpleXMLElement  $table)
protected

Get the SQL syntax to add a table.

Paramètres
SimpleXMLElement$tableThe table information.
Renvoie
string
Depuis
1.7.0
Exceptions
RuntimeException

Références $field, et $key.


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