API17

JTable::getKeyName: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Method to get the primary key field name for the table.  
Method to get the primary key field name for the table.  


{{subst:Description:JTable::getKeyName}}
 


<source lang="php">
<source lang="php">
Line 17: Line 17:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JTable::getKeyName|Other versions of JTable::getKeyName]]
* [[API17:JTable::getKeyName|Other versions of JTable::getKeyName]]
{{subst:SeeAlso:JTable::getKeyName}}
 


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

Latest revision as of 03:47, 25 March 2017

Joomla 11.1 JTable::getKeyName

Description

Method to get the primary key field name for the table.


public function getKeyName ()
  • Returns string The name of the primary key for the table.
  • Defined on line 291 of libraries/joomla/database/table.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples