API17

Difference between revisions of "JDatabaseImporterMySQL::getAddKeySQL"

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}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JDatabaseImporterMySQL::getAddKeySQL|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseImporterMySQL::getAddKeySQL|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />

Revision as of 10:02, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabaseImporterMySQL::getAddKeySQL[edit]

Description[edit]

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[edit]

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

User contributed notes[edit]

<CodeExamplesForm />