JDatabaseDriver::insertObject
Inserts a row into a table based on an object's properties.
Signature
public function insertObject(string
$table,
[&
$object = null,
[string
$key = null]] )
Parameters
-
$table
- The name of the database table to insert into.
-
$object
-
$key
- The name of the primary key. If provided the object property is updated.
Returns
- boolean
- True on success.