Difference between revisions of "JDatabaseImporterMySQL::getAddKeySQL"
From Joomla! Documentation
m (→See also: moving preparation) |
m (clean up) |
||
Line 4: | Line 4: | ||
Get the SQL syntax to add a key. | Get the SQL syntax to add a key. | ||
− | {{Description:JDatabaseImporterMySQL::getAddKeySQL}} | + | {{subst:Description:JDatabaseImporterMySQL::getAddKeySQL}} |
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
protected function getAddKeySQL ( | protected function getAddKeySQL ( | ||
Line 40: | Line 38: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseImporterMySQL::getAddKeySQL|Other versions of JDatabaseImporterMySQL::getAddKeySQL]] | * [[API17:JDatabaseImporterMySQL::getAddKeySQL|Other versions of JDatabaseImporterMySQL::getAddKeySQL]] | ||
− | {{SeeAlso:JDatabaseImporterMySQL::getAddKeySQL}} | + | {{subst:SeeAlso:JDatabaseImporterMySQL::getAddKeySQL}} |
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> |
Revision as of 10:02, 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.
JDatabaseImporterMySQL::getAddKeySQL[edit]
Description[edit]
Get the SQL syntax to add a key.
{{subst:Description:JDatabaseImporterMySQL::getAddKeySQL}}
protected function getAddKeySQL (
$table
$keys
)
Parameter | Type | Default | Description |
---|---|---|---|
$table | string | The table name. | |
$keys | array | An array of the fields pertaining to this key. |
See also[edit]
- JDatabaseImporterMySQL::getAddKeySQL source code on BitBucket
- Class JDatabaseImporterMySQL
- Subpackage Database
- Other versions of JDatabaseImporterMySQL::getAddKeySQL
{{subst:SeeAlso:JDatabaseImporterMySQL::getAddKeySQL}}
User contributed notes[edit]
<CodeExamplesForm />