示例#1
0
 public function meteoFranceValueFilter($meteoFranceSigle)
 {
     // images de 35 px -> 1260 px pour 43 icons -> 29.3px / icon
     $value = MeteoFranceIcon::getInstance()->getTabMeteo()[$meteoFranceSigle];
     return $value;
 }
示例#2
0
 /**
  * @param $meteo
  * Return the value of $meteo
  * the good meteo have sup value than bad meteo
  */
 private static function valueMeteo($meteo)
 {
     return MeteoFranceIcon::getInstance()->getTabMeteo()[$meteo];
 }