original_string: final public function from_record(stdClass $record) {
          $record = (array) $record;
          foreach ($record as $property => $value) {
              $this->raw_set($property, $value);
          }
          return $this;
      }
code: final public function from_record(stdClass $record) {
          $record = (array) $record;
          foreach ($record as $property => $value) {
              $this->raw_set($property, $value);
          }
          return $this;
      }
code_tokens: final public function from_record ( stdClass $ record ) { $ record = ( array ) $ record ; foreach ( $ record as $ property => $ value ) { $ this -> raw_set ( $ property , $ value ) ; } return $ this ; }
docstring: Populate this class with data from a DB record.
  
  Note that this does not use any custom setter because the data here is intended to
  represent what is stored in the database.
  
  @param \stdClass $record A DB record.
  @return persistent
docstring_tokens: Populate this class with data from a DB record .