/** * @param SQL_STORAGE $storage Store values to this object. */ public function store_to($storage) { parent::store_to($storage); $tname = $this->table_name(); $storage->add($tname, 'options_id', Field_type_integer, $this->options_id); $storage->add($tname, 'trunk_id', Field_type_integer, $this->trunk_id); }
/** * @param SQL_STORAGE $storage Store values to this object. */ public function store_to($storage) { parent::store_to($storage); $tname = $this->table_name(); $storage->add($tname, 'location', Field_type_string, $this->location); $storage->add($tname, 'url_root', Field_type_string, $this->url_root); $storage->add($tname, 'show_times', Field_type_integer, $this->show_times); $storage->add($tname, 'show_celsius', Field_type_integer, $this->show_celsius); $storage->add($tname, 'first_day_mode', Field_type_integer, $this->first_day_mode); $storage->add($tname, 'last_day_mode', Field_type_integer, $this->last_day_mode); $storage->add($tname, 'max_picture_width', Field_type_integer, $this->max_picture_width); $storage->add($tname, 'max_picture_height', Field_type_integer, $this->max_picture_height); $storage->add($tname, 'main_picture_id', Field_type_integer, $this->main_picture_id); $storage->add($tname, 'first_day', Field_type_date_time, $this->first_day); $storage->add($tname, 'last_day', Field_type_date_time, $this->last_day); }