Difference between revisions of "JDatabaseMySQLImporter::getAddColumnSQL"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Get the SQL syntax to add a column. | Get the SQL syntax to add a column. | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Since=== | ===Since=== | ||
{{JVer|11.1 }} | {{JVer|11.1 }} | ||
Line 39: | Line 37: | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
− | + | ||
− | + | * [[API17:JDatabaseMySQLImporter|JDatabaseMySQLImporter]] | |
− | + | * [[API17:JDatabaseMySQLImporter::getAddColumnSQL|Other versions of this method]] | |
− | + | ||
− | * [[JDatabaseMySQLImporter::getAddColumnSQL|Other versions of this method]] | ||
− | |||
===Examples=== | ===Examples=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQLImporter::getAddColumnSQL | category=JDatabaseMySQLImporter::getAddColumnSQL | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:39, 24 March 2017
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.
JDatabaseMySQLImporter::getAddColumnSQL[edit]
Description[edit]
Get the SQL syntax to add a column.
Since[edit]
Synopsis[edit]
protected JDatabaseMySQLImporter::getAddColumnSQL ($table, SimpleXMLElement $field)
Parameter | Type | Default | Description |
---|---|---|---|
$table | string | The table name. | |
SimpleXMLElement $field | SimpleXMLElement | $field The XML field definition. |
Returns[edit]
string
Defined in[edit]
libraries/joomla/database/database/mysqlimporter.php (line 138)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Examples[edit]
Code Examples[edit]