Services_Weather
[ class tree: Services_Weather ] [ index: Services_Weather ] [ all elements ]

Element index for package Services_Weather

[ a ] [ b ] [ c ] [ e ] [ g ] [ i ] [ m ] [ p ] [ s ] [ w ]

a

apiVersion
in file Weather.php, method Services_Weather::apiVersion()
    For your convenience, when I come up with changes in the API...
top

b

buildMetarDB.php
procedural page buildMetarDB.php
top

c

calculateDewPoint
in file Common.php, method Services_Weather_Common::calculateDewPoint()
    Calculate dewpoint from temperature and humidity This is only an approximation, there is no exact formula, this one here is called Magnus-Formula
calculateHumidity
in file Common.php, method Services_Weather_Common::calculateHumidity()
    Calculate humidity from temperature and dewpoint This is only an approximation, there is no exact formula, this one here is called Magnus-Formula
calculateMoonPhase
in file Common.php, method Services_Weather_Common::calculateMoonPhase()
    Calculates the moon age and phase
calculateSunRiseSet
in file Common.php, method Services_Weather_Common::calculateSunRiseSet()
    Calculates sunrise and sunset for a location
calculateWindChill
in file Common.php, method Services_Weather_Common::calculateWindChill()
    Calculate windchill from temperature and windspeed (enhanced formula)
convertDistance
in file Common.php, method Services_Weather_Common::convertDistance()
    Convert distance between km, ft and sm
convertPressure
in file Common.php, method Services_Weather_Common::convertPressure()
    Convert pressure between in, hpa, mb, mm and atm
convertSpeed
in file Common.php, method Services_Weather_Common::convertSpeed()
    Convert speed between mph, kmh, kt, mps, fps and bft
convertTemperature
in file Common.php, method Services_Weather_Common::convertTemperature()
    Convert temperature between f and c
Common.php
procedural page Common.php
top

e

enablePreFetch
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::enablePreFetch()
    Enables pre-fetching of data in one single request
ejse-basic.php
procedural page ejse-basic.php
Ejse.php
procedural page Ejse.php
top

g

getForecast
in file Globalweather.php, method Services_Weather_Globalweather::getForecast()
    GlobalWeather has no forecast per se, so this function is just for compatibility purposes.
getForecast
in file Ejse.php, method Services_Weather_Ejse::getForecast()
    Get the forecast for the next days
getForecast
in file Metar.php, method Services_Weather_Metar::getForecast()
    METAR provides no forecast per se, we use the TAF reports to generate a forecast for the announced timeperiod
getForecast
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::getForecast()
    Get the forecast for the next days
getLinks
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::getLinks()
    Returns the data for the promotional links belonging to the ID
getLocation
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::getLocation()
    Returns the data for the location belonging to the ID
getLocation
in file Metar.php, method Services_Weather_Metar::getLocation()
    Returns the data for the location belonging to the ID
getLocation
in file Globalweather.php, method Services_Weather_Globalweather::getLocation()
    Returns the data for the location belonging to the ID
getLocation
in file Ejse.php, method Services_Weather_Ejse::getLocation()
    Returns the data for the location belonging to the ID
getUnitsFormat
in file Common.php, method Services_Weather_Common::getUnitsFormat()
    Returns the selected units format
getWeather
in file Ejse.php, method Services_Weather_Ejse::getWeather()
    Returns the weather-data for the supplied location
getWeather
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::getWeather()
    Returns the weather-data for the supplied location
getWeather
in file Metar.php, method Services_Weather_Metar::getWeather()
    Returns the weather-data for the supplied location
getWeather
in file Globalweather.php, method Services_Weather_Globalweather::getWeather()
    Returns the weather-data for the supplied location
getWeatherIcon
in file Common.php, method Services_Weather_Common::getWeatherIcon()
    Gets a number corresponding to a weather icon.
globalweather-basic.php
procedural page globalweather-basic.php
Globalweather.php
procedural page Globalweather.php
top

i

isError
in file Weather.php, method Services_Weather::isError()
    Checks for an error object, same as in PEAR
top

m

metar-basic.php
procedural page metar-basic.php
metar-extensive.php
procedural page metar-extensive.php
Metar.php
procedural page Metar.php
top

p

polar2cartesian
in file Common.php, method Services_Weather_Common::polar2cartesian()
    Convert polar coordinates to cartesian coordinates
top

s

searchAirport
in file Metar.php, method Services_Weather_Metar::searchAirport()
    Searches the nearest airport(s) for given coordinates, returns array of IDs or single ID
searchLocation
in file Ejse.php, method Services_Weather_Ejse::searchLocation()
    EJSE offers no search function to date, so this function is disabled.
searchLocation
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::searchLocation()
    Searches IDs for given location, returns array of possible locations or single ID
searchLocation
in file Globalweather.php, method Services_Weather_Globalweather::searchLocation()
    Searches IDs for given location, returns array of possible locations or single ID
searchLocation
in file Metar.php, method Services_Weather_Metar::searchLocation()
    Searches IDs for given location, returns array of possible locations or single ID
searchLocationByCountry
in file Globalweather.php, method Services_Weather_Globalweather::searchLocationByCountry()
    Returns IDs with location-name for a given country or all available countries, if no value was given
searchLocationByCountry
in file Metar.php, method Services_Weather_Metar::searchLocationByCountry()
    Returns IDs with location-name for a given country or all available countries, if no value was given
searchLocationByCountry
in file Ejse.php, method Services_Weather_Ejse::searchLocationByCountry()
    EJSE offers no search function to date, so this function is disabled.
searchLocationByCountry
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::searchLocationByCountry()
    Returns only false, as weather.com offers no country listing via its XML services
service
in file Weather.php, method Services_Weather::service()
    Factory for creating the services-objects
Services_Weather
in file Weather.php, class Services_Weather
    This class acts as an interface to various online weather-services.
Services_Weather_Common
in file Common.php, class Services_Weather_Common
    Parent class for weather-services. Defines common functions for unit conversions, checks for cache enabling and does other miscellaneous things.
Services_Weather_Ejse
in file Ejse.php, class Services_Weather_Ejse
    This class acts as an interface to the soap service of EJSE. It retrieves current weather data and forecasts based on postal codes (ZIP).
SERVICES_WEATHER_ERROR_CACHE_INIT_FAILED
in file Weather.php, constant SERVICES_WEATHER_ERROR_CACHE_INIT_FAILED
SERVICES_WEATHER_ERROR_DB_NOT_CONNECTED
in file Weather.php, constant SERVICES_WEATHER_ERROR_DB_NOT_CONNECTED
SERVICES_WEATHER_ERROR_HTTP_PROXY_INVALID
in file Weather.php, constant SERVICES_WEATHER_ERROR_HTTP_PROXY_INVALID
SERVICES_WEATHER_ERROR_INVALID_LICENSE_KEY
in file Weather.php, constant SERVICES_WEATHER_ERROR_INVALID_LICENSE_KEY
SERVICES_WEATHER_ERROR_INVALID_LOCATION
in file Weather.php, constant SERVICES_WEATHER_ERROR_INVALID_LOCATION
SERVICES_WEATHER_ERROR_INVALID_PARTNER_ID
in file Weather.php, constant SERVICES_WEATHER_ERROR_INVALID_PARTNER_ID
SERVICES_WEATHER_ERROR_INVALID_PRODUCT_CODE
in file Weather.php, constant SERVICES_WEATHER_ERROR_INVALID_PRODUCT_CODE
SERVICES_WEATHER_ERROR_METAR_SOURCE_INVALID
in file Weather.php, constant SERVICES_WEATHER_ERROR_METAR_SOURCE_INVALID
SERVICES_WEATHER_ERROR_MOONFUNCS_DATE_INVALID
in file Weather.php, constant SERVICES_WEATHER_ERROR_MOONFUNCS_DATE_INVALID
SERVICES_WEATHER_ERROR_NO_LOCATION
in file Weather.php, constant SERVICES_WEATHER_ERROR_NO_LOCATION
SERVICES_WEATHER_ERROR_SERVICE_NOT_FOUND
in file Weather.php, constant SERVICES_WEATHER_ERROR_SERVICE_NOT_FOUND
SERVICES_WEATHER_ERROR_SUNFUNCS_DATE_INVALID
in file Weather.php, constant SERVICES_WEATHER_ERROR_SUNFUNCS_DATE_INVALID
SERVICES_WEATHER_ERROR_SUNFUNCS_RETFORM_INVALID
in file Weather.php, constant SERVICES_WEATHER_ERROR_SUNFUNCS_RETFORM_INVALID
SERVICES_WEATHER_ERROR_UNKNOWN_ERROR
in file Weather.php, constant SERVICES_WEATHER_ERROR_UNKNOWN_ERROR
SERVICES_WEATHER_ERROR_UNKNOWN_LOCATION
in file Weather.php, constant SERVICES_WEATHER_ERROR_UNKNOWN_LOCATION
SERVICES_WEATHER_ERROR_WRONG_SERVER_DATA
in file Weather.php, constant SERVICES_WEATHER_ERROR_WRONG_SERVER_DATA
SERVICES_WEATHER_EXPIRES_FORECAST
in file Weather.php, constant SERVICES_WEATHER_EXPIRES_FORECAST
SERVICES_WEATHER_EXPIRES_LINKS
in file Weather.php, constant SERVICES_WEATHER_EXPIRES_LINKS
SERVICES_WEATHER_EXPIRES_LOCATION
in file Weather.php, constant SERVICES_WEATHER_EXPIRES_LOCATION
SERVICES_WEATHER_EXPIRES_SEARCH
in file Weather.php, constant SERVICES_WEATHER_EXPIRES_SEARCH
SERVICES_WEATHER_EXPIRES_UNITS
in file Weather.php, constant SERVICES_WEATHER_EXPIRES_UNITS
SERVICES_WEATHER_EXPIRES_WEATHER
in file Weather.php, constant SERVICES_WEATHER_EXPIRES_WEATHER
Services_Weather_Globalweather
in file Globalweather.php, class Services_Weather_Globalweather
    This class acts as an interface to the soap service of capescience.com.
Services_Weather_Metar
in file Metar.php, class Services_Weather_Metar
    This class acts as an interface to the METAR/TAF service of weather.noaa.gov. It searches for locations given in ICAO notation and retrieves the current weather data.
SERVICES_WEATHER_RADIUS_EARTH
in file Common.php, constant SERVICES_WEATHER_RADIUS_EARTH
SERVICES_WEATHER_SUNFUNCS_DEFAULT_LATITUDE
in file Common.php, constant SERVICES_WEATHER_SUNFUNCS_DEFAULT_LATITUDE
SERVICES_WEATHER_SUNFUNCS_DEFAULT_LONGITUDE
in file Common.php, constant SERVICES_WEATHER_SUNFUNCS_DEFAULT_LONGITUDE
SERVICES_WEATHER_SUNFUNCS_SUNRISE_ZENITH
in file Common.php, constant SERVICES_WEATHER_SUNFUNCS_SUNRISE_ZENITH
SERVICES_WEATHER_SUNFUNCS_SUNSET_ZENITH
in file Common.php, constant SERVICES_WEATHER_SUNFUNCS_SUNSET_ZENITH
Services_Weather_Weatherdotcom
in file Weatherdotcom.php, class Services_Weather_Weatherdotcom
    This class acts as an interface to the xml service of weather.com. It searches for given locations and retrieves current weather data as well as forecast for up to 5 days.
setAccountData
in file Ejse.php, method Services_Weather_Ejse::setAccountData()
    Sets the neccessary account-information for ejse.com, you'll receive them after registering for the service
setAccountData
in file Weatherdotcom.php, method Services_Weather_Weatherdotcom::setAccountData()
    Sets the neccessary account-information for weather.com, you'll receive them after registering for the XML-stream
setCache
in file Common.php, method Services_Weather_Common::setCache()
    Enables caching the data, usage strongly recommended
setDateTimeFormat
in file Common.php, method Services_Weather_Common::setDateTimeFormat()
    Changes the representation of time and dates (see http://www.php.net/date)
setHttpOption
in file Common.php, method Services_Weather_Common::setHttpOption()
    Sets an option for usage in HTTP_Request objects
setHttpProxy
in file Common.php, method Services_Weather_Common::setHttpProxy()
    Sets the proxy for HTTP requests
setHttpTimeout
in file Common.php, method Services_Weather_Common::setHttpTimeout()
    Sets the timeout in seconds for HTTP requests
setMetarDB
in file Metar.php, method Services_Weather_Metar::setMetarDB()
    Sets the parameters needed for connecting to the DB, where the location-search is fetching its data from. You need to build a DB with the external tool buildMetarDB first, it fetches the locations and airports from a NOAA-website.
setMetarSource
in file Metar.php, method Services_Weather_Metar::setMetarSource()
    Sets the source, where the class tries to locate the METAR/TAF data
setUnitsFormat
in file Common.php, method Services_Weather_Common::setUnitsFormat()
    Changes the representation of the units (standard/metric)
Services_Weather_checkData
in file buildMetarDB.php, function Services_Weather_checkData()
    Services_Weather_checkData
Services_Weather_getNextArg
in file buildMetarDB.php, function Services_Weather_getNextArg()
    Services_Weather_getNextArg
top

w

weather.com-basic.php
procedural page weather.com-basic.php
weather.com-extensive.php
procedural page weather.com-extensive.php
Weatherdotcom.php
procedural page Weatherdotcom.php
Weather.php
procedural page Weather.php
top

Documentation generated on Mon, 11 Mar 2019 15:50:57 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.