API17:JDatabaseMySQLImporter::getAddKeySQL
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDatabaseMySQLImporter::getAddKeySQL
Description
Get the SQL syntax to add a key.
Description:JDatabaseMySQLImporter::getAddKeySQL [Edit Descripton]
Since
Synopsis
protected JDatabaseMySQLImporter::getAddKeySQL ($table, $keys)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $table | string | The table name. | |
| $keys | array | An array of the fields pertaining to this key. |
Returns
string
Defined in
libraries/joomla/database/database/mysqlimporter.php (line 155)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JDatabaseMySQLImporter::getAddKeySQL
Examples
<CodeExamplesForm />
