API17:JTable::getKeyName
From Joomla! Documentation
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

See also
JTable::getKeyName source code on BitBucket
Class JTable
Subpackage Database- Other versions of JTable::getKeyName
User contributed notes
Code Examples