final public function from_record(stdClass $record) {
        $record = (array) $record;
        foreach ($record as $property => $value) {
            $this->raw_set($property, $value);
        }
        return $this;
    }
final public function from_record(stdClass $record) {
        $record = (array) $record;
        foreach ($record as $property => $value) {
            $this->raw_set($property, $value);
        }
        return $this;
    }
final public function from_record ( stdClass $ record ) { $ record = ( array ) $ record ; foreach ( $ record as $ property => $ value ) { $ this -> raw_set ( $ property , $ value ) ; } return $ this ; }
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
Populate this class with data from a DB record .