API17

API17:JDatabaseImporterMySQL::getAddColumnSQL

From Joomla! Documentation

Revision as of 15:01, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JDatabaseImporterMySQL::getAddColumnSQL

Description

Get the SQL syntax to add a column.

{{subst:Description:JDatabaseImporterMySQL::getAddColumnSQL}}

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

See also

{{subst:SeeAlso:JDatabaseImporterMySQL::getAddColumnSQL}}

User contributed notes

<CodeExamplesForm />