API17

JDatabaseImporterMySQLi::getAddColumnSQL

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabaseImporterMySQLi::getAddColumnSQL[edit]

Description[edit]

Get the SQL syntax to add a column.


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/mysqliimporter.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]