JDatabaseDriver::updateObject
Updates a row in a table based on an object's properties.
Signature
public function updateObject(string
$table,
[&
$object = false,
[array
$key = false,
[boolean
$nulls = false]]] )
Parameters
-
$table
- The name of the database table to update.
-
$object
-
$key
- The name of the primary key.
-
$nulls
- True to update null fields or false to ignore them.
Returns
- boolean
- True on success.