Actions

API17

Difference between revisions of "JDatabaseMySQLImporter"

From Joomla! Documentation

m (Examples: bad link repair)
m (moving preparation)
 
(2 intermediate revisions by one user not shown)
Line 8: Line 8:
 
* see source code in [[jplatform:database/database/mysqlimporter.php|BitBucket]]
 
* see source code in [[jplatform:database/database/mysqlimporter.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
[[Subpackage Database/11.1|Database]]
+
[[API17:Subpackage Database|Database]]
 
===Extends===
 
===Extends===
 
===Extended by===
 
===Extended by===
Line 17: Line 17:
 
!Description
 
!Description
 
|-
 
|-
|[[JDatabaseMySQLImporter::__construct/11.1|__construct]]
+
|[[API17:JDatabaseMySQLImporter::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::asXml/11.1|asXml]]
+
|[[API17:JDatabaseMySQLImporter::asXml|asXml]]
 
|Set the output option for the exporter to XML format.  
 
|Set the output option for the exporter to XML format.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::check/11.1|check]]
+
|[[API17:JDatabaseMySQLImporter::check|check]]
 
|Checks if all data and options are in order prior to exporting.  
 
|Checks if all data and options are in order prior to exporting.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::from/11.1|from]]
+
|[[API17:JDatabaseMySQLImporter::from|from]]
 
|Specifies the data source to import.  
 
|Specifies the data source to import.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::setDbo/11.1|setDbo]]
+
|[[API17:JDatabaseMySQLImporter::setDbo|setDbo]]
 
|Sets the database connector to use for exporting structure and/or data from MySQL.  
 
|Sets the database connector to use for exporting structure and/or data from MySQL.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::withStructure/11.1|withStructure]]
+
|[[API17:JDatabaseMySQLImporter::withStructure|withStructure]]
 
|Sets an internal option to merge the structure based on the input data.  
 
|Sets an internal option to merge the structure based on the input data.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getAddColumnSQL/11.1|getAddColumnSQL]]
+
|[[API17:JDatabaseMySQLImporter::getAddColumnSQL|getAddColumnSQL]]
 
|Get the SQL syntax to add a column.  
 
|Get the SQL syntax to add a column.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getAddKeySQL/11.1|getAddKeySQL]]
+
|[[API17:JDatabaseMySQLImporter::getAddKeySQL|getAddKeySQL]]
 
|Get the SQL syntax to add a key.  
 
|Get the SQL syntax to add a key.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getAlterTableSQL/11.1|getAlterTableSQL]]
+
|[[API17:JDatabaseMySQLImporter::getAlterTableSQL|getAlterTableSQL]]
 
|Get alters for table if there is a difference.  
 
|Get alters for table if there is a difference.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getChangeColumnSQL/11.1|getChangeColumnSQL]]
+
|[[API17:JDatabaseMySQLImporter::getChangeColumnSQL|getChangeColumnSQL]]
 
|Get the syntax to alter a column.  
 
|Get the syntax to alter a column.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getColumns/11.1|getColumns]]
+
|[[API17:JDatabaseMySQLImporter::getColumns|getColumns]]
 
|Get the details list of columns for a table.  
 
|Get the details list of columns for a table.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getColumnSQL/11.1|getColumnSQL]]
+
|[[API17:JDatabaseMySQLImporter::getColumnSQL|getColumnSQL]]
 
|Get the SQL syntax for a single column that would be included in a table create or alter statement.  
 
|Get the SQL syntax for a single column that would be included in a table create or alter statement.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getDropColumnSQL/11.1|getDropColumnSQL]]
+
|[[API17:JDatabaseMySQLImporter::getDropColumnSQL|getDropColumnSQL]]
 
|Get the SQL syntax to drop a column.  
 
|Get the SQL syntax to drop a column.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getDropKeySQL/11.1|getDropKeySQL]]
+
|[[API17:JDatabaseMySQLImporter::getDropKeySQL|getDropKeySQL]]
 
|Get the SQL syntax to drop a key.  
 
|Get the SQL syntax to drop a key.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getDropPrimaryKeySQL/11.1|getDropPrimaryKeySQL]]
+
|[[API17:JDatabaseMySQLImporter::getDropPrimaryKeySQL|getDropPrimaryKeySQL]]
 
|Get the SQL syntax to drop a key.  
 
|Get the SQL syntax to drop a key.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getKeyLookup/11.1|getKeyLookup]]
+
|[[API17:JDatabaseMySQLImporter::getKeyLookup|getKeyLookup]]
 
|Get the details list of keys for a table.  
 
|Get the details list of keys for a table.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getKeys/11.1|getKeys]]
+
|[[API17:JDatabaseMySQLImporter::getKeys|getKeys]]
 
|Get the details list of keys for a table.  
 
|Get the details list of keys for a table.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getKeySQL/11.1|getKeySQL]]
+
|[[API17:JDatabaseMySQLImporter::getKeySQL|getKeySQL]]
 
|Get the SQL syntax for a key.  
 
|Get the SQL syntax for a key.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::getRealTableName/11.1|getRealTableName]]
+
|[[API17:JDatabaseMySQLImporter::getRealTableName|getRealTableName]]
 
|Get the real name of the table, converting the prefix wildcard string if present.  
 
|Get the real name of the table, converting the prefix wildcard string if present.  
 
|-
 
|-
|[[JDatabaseMySQLImporter::mergeStructure/11.1|mergeStructure]]
+
|[[API17:JDatabaseMySQLImporter::mergeStructure|mergeStructure]]
 
|Merges the incoming structure definition with the existing structure.  
 
|Merges the incoming structure definition with the existing structure.  
 
|-
 
|-
Line 82: Line 82:
 
===See also===
 
===See also===
 
* JDatabaseMySQLImporter source code in [[jplatform:database/database/mysqlimporter.php|BitBucket]]
 
* JDatabaseMySQLImporter source code in [[jplatform:database/database/mysqlimporter.php|BitBucket]]
* [[JDatabaseMySQLImporter|Other versions of this class]]
+
* [[API17:JDatabaseMySQLImporter|Other versions of this class]]
 
{{SeeAlso:JDatabaseMySQLImporter}}
 
{{SeeAlso:JDatabaseMySQLImporter}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 97: Line 97:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JDatabaseMySQLImporter]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20:10, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JDatabaseMySQLImporter

Defined in

libraries/joomla/database/database/mysqlimporter.php

Subpackage

Database

Extends

Extended by

Methods

Method name Description
__construct Constructor.
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 Specifies the data source to import.
setDbo Sets the database connector to use for exporting structure and/or data from MySQL.
withStructure Sets an internal option to merge the structure based on the input data.
getAddColumnSQL Get the SQL syntax to add a column.
getAddKeySQL Get the SQL syntax to add a key.
getAlterTableSQL Get alters for table if there is a difference.
getChangeColumnSQL Get the syntax to alter a column.
getColumns Get the details list of columns for a table.
getColumnSQL Get the SQL syntax for a single column that would be included in a table create or alter statement.
getDropColumnSQL Get the SQL syntax to drop a column.
getDropKeySQL Get the SQL syntax to drop a key.
getDropPrimaryKeySQL Get the SQL syntax to drop a key.
getKeyLookup Get the details list of keys for a table.
getKeys Get the details list of keys for a table.
getKeySQL Get the SQL syntax for a key.
getRealTableName Get the real name of the table, converting the prefix wildcard string if present.
mergeStructure Merges the incoming structure definition with the existing structure.

Importing

jimport( 'joomla.database.database.mysqlimporter' );

See also

  • JDatabaseMySQLImporter source code in BitBucket
  • Other versions of this class

SeeAlso:JDatabaseMySQLImporter [Edit See Also]

Examples

<CodeExamplesForm />