API17

JDatabaseImporterMySQL::getAddKeySQL: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Get the SQL syntax to add a key.  
Get the SQL syntax to add a key.  


{{subst:Description:JDatabaseImporterMySQL::getAddKeySQL}}
 


<source lang="php">
<source lang="php">
Line 38: 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]]
{{subst:SeeAlso:JDatabaseImporterMySQL::getAddKeySQL}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseImporterMySQL::getAddKeySQL
category=JDatabaseImporterMySQL::getAddKeySQL
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:36, 25 March 2017

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