JDatabaseImporterMySQL::getAddKeySQL: Difference between revisions
From Joomla! Documentation
Updated to r1448:247ba8d88526 |
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 key. | Get the SQL syntax to add a key. | ||
<source lang="php"> | <source lang="php"> | ||
protected function getAddKeySQL ( | protected function getAddKeySQL ( | ||
| Line 37: | Line 35: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseImporterMySQL::getAddKeySQL source code''' on [[jplatform:database/database/mysqlimporter.php#cl-148|BitBucket]] | * {{JVer|11.1}} '''JDatabaseImporterMySQL::getAddKeySQL source code''' on [[jplatform:database/database/mysqlimporter.php#cl-148|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseImporterMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseImporterMySQL|JDatabaseImporterMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseImporterMySQL::getAddKeySQL|Other versions of JDatabaseImporterMySQL::getAddKeySQL]] | * [[API17:JDatabaseImporterMySQL::getAddKeySQL|Other versions of JDatabaseImporterMySQL::getAddKeySQL]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseImporterMySQL::getAddKeySQL | category=JDatabaseImporterMySQL::getAddKeySQL | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 55: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:36, 25 March 2017
JDatabaseImporterMySQL::getAddKeySQL
Description
Get the SQL syntax to add a key.
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
User contributed notes
Code Examples