API17

JDatabaseImporterMySQL::getColumnSQL: Difference between revisions

From Joomla! Documentation

m See also: moving preparation
m clean up
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.  


{{Description:JDatabaseImporterMySQL::getColumnSQL}}
{{subst:Description:JDatabaseImporterMySQL::getColumnSQL}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseImporterMySQL::getColumnSQL|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
protected function getColumnSQL (SimpleXMLElement $field)
protected function getColumnSQL (SimpleXMLElement $field)
Line 32: 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]]
{{SeeAlso:JDatabaseImporterMySQL::getColumnSQL}}
{{subst:SeeAlso:JDatabaseImporterMySQL::getColumnSQL}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseImporterMySQL::getColumnSQL|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:02, 24 March 2017

Joomla 11.1 JDatabaseImporterMySQL::getColumnSQL

Description

Get the SQL syntax for a single column that would be included in a table create or alter statement.

{{subst:Description:JDatabaseImporterMySQL::getColumnSQL}}

protected function getColumnSQL (SimpleXMLElement $field)
Parameter Type Default Description
SimpleXMLElement $field SimpleXMLElement $field The XML field definition.
  • Returns string
  • Defined on line 359 of libraries/joomla/database/database/mysqlimporter.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JDatabaseImporterMySQL::getColumnSQL}}

User contributed notes

<CodeExamplesForm />