JTable::getKeyName
Method to get the primary key field name for the table.
Signature
public function getKeyName([boolean
$multiple = false] )
Parameters
-
$multiple
- True to return all primary keys (as an array) or false to return just the first one (as a string).
Returns
- mixed
- Array of primary key field names or string containing the first primary key field.