コード例 #1
0
ファイル: Weather.php プロジェクト: rob-st/Runalyze
 /**
  * Is the weather-data empty?
  * @return bool
  */
 public function isEmpty()
 {
     return $this->Temperature->isUnknown() && $this->Condition->isUnknown() && $this->WindSpeed->isUnknown() && $this->WindDegree->isUnknown() && $this->Humidity->isUnknown() && $this->Pressure->isUnknown();
 }
コード例 #2
0
ファイル: Weather.php プロジェクト: guancio/Runalyze
 /**
  * Is the weather-data empty?
  * @return bool
  */
 public function isEmpty()
 {
     return $this->Temperature->isUnknown() && $this->Condition->isUnknown();
 }