Пример #1
0
 /**
  * Update row with values plus set the update time
  * @param object|array $row 	row data to save
  * @param int $id 				id of the record to save to, if FALSE then use the object id.
  */
 public function update_row($row, $id = FALSE)
 {
     $row = $this->set_row_value($row, 'update_time', date('Y-m-d H:i:s'));
     parent::update_row($row, $id);
 }