API17

API17:JDatabaseImporterMySQL::getAddKeySQL

From Joomla! Documentation

Revision as of 15:02, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 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.
  • Returns string
  • Defined on line 156 of libraries/joomla/database/database/mysqlimporter.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JDatabaseImporterMySQL::getAddKeySQL}}

User contributed notes

<CodeExamplesForm />