API16:JTable/getKeyName
From Joomla! Documentation
Description
Method to get the primary key field name for the table.
Template:Description:API16:JTable/getKeyName
Syntax
getKeyName()
Returns
string The name of the primary key for the table.
Defined in
libraries/joomla/database/table.php
Importing
jimport( 'joomla.database.table' );
Source Body
public function getKeyName()
{
return $this->_tbl_key;
}
[Edit See Also] Template:SeeAlso:API16:JTable/getKeyName
Examples
<CodeExamplesForm />