Please forgive me as I am new to Moodle development (not a new developer, but new to Moodle) and am trying to understand the update_record method a little better. My questions are:
(1) When udpate_record is called (for example, on the user table), is the timemodified column automatically updated as a byproduct of said update?
(2) The documentation generically states that the second parameter is a dataobject. In my case I am using get_record to get the results and then update_record to update back to the database. I'm trying to locate the "user" class in the moodle 1.9.9 xref and can't seem to locate it (searching under classes).
Can you please point me in the right direction? I am assuming if the timemodified is not automatically udpated I can update a property of that object before sending it back to update_record.
Thanks much.