コード例 #1
0
ファイル: Forecast.php プロジェクト: DropFan/phpWeatherlib
 public function __construct()
 {
     // echo 'Forecast';
     parent::__construct();
     $this->precip = new Precip();
     $this->snow = new Precip();
     $this->rain = new Precip();
 }
コード例 #2
0
ファイル: Current.php プロジェクト: DropFan/phpWeatherlib
 public function __construct()
 {
     // echo 'current';
     parent::__construct();
     // $this->location = new Location();
     // $this->temperature = (string)($this->temperature);
     // $this->currentCondition = new Condition();
     $this->sun = new Planet();
     $this->moon = new Planet();
 }