/** * @param DATABASE $db */ public function load($db) { parent::load($db); $this->file_name = $db->f('file_name'); }
/** * @param DATABASE $db */ public function load($db) { parent::load($db); $this->lo_temp = $db->f("lo_temp"); $this->hi_temp = $db->f("hi_temp"); $this->weather = $db->f("weather"); $this->weather_type = $db->f("weather_type"); }