original_string: public function populate_from_record($record) {
          foreach ($this->fieldsindb as $field) {
              $this->$field = $record->$field;
          }
          $this->timemodified = $record->timemodified;
      }
code: public function populate_from_record($record) {
          foreach ($this->fieldsindb as $field) {
              $this->$field = $record->$field;
          }
          $this->timemodified = $record->timemodified;
      }
code_tokens: public function populate_from_record ( $ record ) { foreach ( $ this -> fieldsindb as $ field ) { $ this -> $ field = $ record -> $ field ; } $ this -> timemodified = $ record -> timemodified ; }
docstring: Load properties of this class from db record.
  
  @param object $record Given a record from 'question_statistics' copy stats from record to properties.
docstring_tokens: Load properties of this class from db record .