This method adds one or more department entries. either an array, or a single object, are acceptable parameters in the $newdata array.
Parameters
$newdata | The new data to apply to the matched records. |
---|
Return value
The method returns a status object indicating the number of rows inserted, deleted or added.