Overview

Packages

  • Service
    • Weather

Classes

  • Horde_Service_Weather
  • Horde_Service_Weather_Base
  • Horde_Service_Weather_Current_Base
  • Horde_Service_Weather_Current_Google
  • Horde_Service_Weather_Current_WeatherUnderground
  • Horde_Service_Weather_Current_Wwo
  • Horde_Service_Weather_Exception
  • Horde_Service_Weather_Exception_InvalidProperty
  • Horde_Service_Weather_Forecast_Base
  • Horde_Service_Weather_Forecast_Google
  • Horde_Service_Weather_Forecast_WeatherUnderground
  • Horde_Service_Weather_Forecast_Wwo
  • Horde_Service_Weather_Google
  • Horde_Service_Weather_Period_Base
  • Horde_Service_Weather_Period_Google
  • Horde_Service_Weather_Period_WeatherUnderground
  • Horde_Service_Weather_Period_Wwo
  • Horde_Service_Weather_Station
  • Horde_Service_Weather_Translation
  • Horde_Service_Weather_WeatherUnderground
  • Horde_Service_Weather_Wwo
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Service_Weather_Forecast_Base

Horde_Service_Weather_Current class

Horde_Service_Weather_Forecast_Base implements IteratorAggregate

Direct known subclasses

Horde_Service_Weather_Forecast_Google, Horde_Service_Weather_Forecast_WeatherUnderground, Horde_Service_Weather_Forecast_Wwo
Package: Service\Weather
Category: Horde
Author: Michael J Rubinsky mrubinsk@horde.org
Located at Horde/Service/Weather/Forecast/Base.php
Methods summary
public
# __construct( array $properties, Horde_Service_Weather_Base $weather, integer $type = Horde_Service_Weather::FORECAST_TYPE_STANDARD )

Const'r

Const'r

Parameters

$properties
Forecast properties.
$weather
The base driver.
$type
The forecast type.
public
# getIterator( )

Implementation of

IteratorAggregate::getIterator()
public
# getForecastDay( mixed $day )
public
# getForecastTime( )
public
# limitLength( integer $days )

Limit the returned number of forecast days. Used for emulating a smaller forecast length than the provider supports or for using one, longer request to supply two different forecast length requests.

Limit the returned number of forecast days. Used for emulating a smaller forecast length than the provider supports or for using one, longer request to supply two different forecast length requests.

Parameters

$days
The number of days to return.
Properties summary
public Horde_Service_Weather_Base $weather

Parent Weather driver.

Parent Weather driver.

#
public integer $detail

Advertise how detailed the forecast period is.

FORECAST_TYPE_STANDARD - Each Period represents a full day
FORECAST_TYPE_DETAILED - Each period represents either day or night.
FORECAST_TYPE_HOURLY   - Each period represents a single hour.

Advertise how detailed the forecast period is.

FORECAST_TYPE_STANDARD - Each Period represents a full day
FORECAST_TYPE_DETAILED - Each period represents either day or night.
FORECAST_TYPE_HOURLY   - Each period represents a single hour.
# Horde_Service_Weather::FORECAST_TYPE_STANDARD
API documentation generated by ApiGen