JDatabaseImporterMySQL::getColumnSQL: Difference between revisions
From Joomla! Documentation
Updated to r1448:247ba8d88526 |
m preparing for archive only |
||
| (4 intermediate revisions by the same user not shown) | |||
| 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"> | ||
protected function getColumnSQL (SimpleXMLElement $field) | protected function getColumnSQL (SimpleXMLElement $field) | ||
| Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseImporterMySQL::getColumnSQL source code''' on [[jplatform:database/database/mysqlimporter.php#cl-351|BitBucket]] | * {{JVer|11.1}} '''JDatabaseImporterMySQL::getColumnSQL source code''' on [[jplatform:database/database/mysqlimporter.php#cl-351|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseImporterMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseImporterMySQL|JDatabaseImporterMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[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=* | ||
| Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
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