JDatabaseImporterMySQL::getColumnSQL: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
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. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 30: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseImporterMySQL::getColumnSQL|Other versions of JDatabaseImporterMySQL::getColumnSQL]] | * [[API17:JDatabaseImporterMySQL::getColumnSQL|Other versions of JDatabaseImporterMySQL::getColumnSQL]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseImporterMySQL::getColumnSQL | category=JDatabaseImporterMySQL::getColumnSQL | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:36, 25 March 2017
JDatabaseImporterMySQL::getColumnSQL
Description
Get the SQL syntax for a single column that would be included in a table create or alter statement.
protected function getColumnSQL (SimpleXMLElement $field)
| Parameter | Type | Default | Description |
|---|---|---|---|
| SimpleXMLElement $field | SimpleXMLElement | $field The XML field definition. |
See also
JDatabaseImporterMySQL::getColumnSQL source code on BitBucket
Class JDatabaseImporterMySQL
Subpackage Database- Other versions of JDatabaseImporterMySQL::getColumnSQL
User contributed notes
Code Examples