/**
  * Store the form's values to this picture.
  * @param PICTURE $obj
  * @access private
  */
 protected function _store_to_object($obj)
 {
     parent::_store_to_object($obj);
     $file_name = $this->_selected_file_name();
     if ($this->value_for('use_upload')) {
         $file_name = $this->context->resolve_file(file_name_to_url($file_name), Force_root_on);
     }
     $obj->file_name = $file_name;
     if (isset($this->_exif_date)) {
         $obj->date = $this->_exif_date;
     }
 }
 /**
  * Store the form's values to this journal entry.
  * @param JOURNAL $obj
  * @access private
  */
 protected function _store_to_object($obj)
 {
     $obj->weather = $this->value_as_text('weather');
     $obj->lo_temp = $this->value_as_text('lo_temp');
     $obj->hi_temp = $this->value_as_text('hi_temp');
     $obj->weather_type = $this->value_for('weather_type');
     parent::_store_to_object($obj);
 }