API17

API17:JDatabaseImporterMySQL::getAddKeySQL

From Joomla! Documentation

Revision as of 02:36, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

See also


User contributed notes

Code Examples