You are here

public function weather_es_citPro::error in Weather_es 7

Same name and namespace in other branches
  1. 6.3 weather_es.inc \weather_es_citPro::error()

Return value

bool

File

./weather_es.inc, line 226
Classes to get the weather information from AEMET

Class

weather_es_citPro
Class that gets the cities of a province

Code

public function error() {
  if ($this->xerror_message === '') {
    return FALSE;
  }
  else {
    return TRUE;
  }
}