JDatabaseImporterMySQL::getAddKeySQL: Difference between revisions
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 15:02, 24 March 2017
JDatabaseImporterMySQL::getAddKeySQL
Description
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
JDatabaseImporterMySQL::getAddKeySQL source code on BitBucket
Class JDatabaseImporterMySQL
Subpackage Database- Other versions of JDatabaseImporterMySQL::getAddKeySQL
{{subst:SeeAlso:JDatabaseImporterMySQL::getAddKeySQL}}
User contributed notes
<CodeExamplesForm />