Object constructor to set table and key fields. In most cases this will be overridden by child classes to explicitly set the table and key fields for a particular database table.
Signature
public function __construct(string
$table,
mixed
$key,
JDatabaseDriver
$db )
Parameters
$table
Name of the table to model.
$key
Name of the primary key field in the table or array of field names that compose the primary key.