Exemplo n.º 1
0
 /**
  * Return station list aws, rain
  *
  * @return array
  */
 public function getStations()
 {
     if (!$this->stations) {
         $this->stations = Station::prepareStationList(['aws', 'rain'], false);
     }
     return $this->stations;
 }
Exemplo n.º 2
0
 /**
  * @return array|null $this->stations
  */
 public function getStationsList($color = false)
 {
     $this->stations = Station::prepareStationList(['aws', 'awos'], $color);
     return $this->stations;
 }
Exemplo n.º 3
0
 /**
  * @return array|null $this->stations
  */
 public function getStationsList()
 {
     if (!$this->stations) {
         $this->stations = Station::prepareStationList(['aws', 'awos']);
     }
     return $this->stations;
 }