/** * Const'r * * @see Horde_Service_Weather_Forecast_Base::__construct() */ public function __construct($properties, Horde_Service_Weather_Base $weather, $type = Horde_Service_Weather::FORECAST_TYPE_STANDARD) { parent::__construct($properties, $weather, $type); switch ($type) { case Horde_Service_Weather::FORECAST_TYPE_STANDARD: $this->_parseStd(); break; case Horde_Service_Weather::FORECAST_TYPE_HOURLY: $this->_parseHourly(); } }
/** * Const'r * * @see Horde_Service_Weather_Forecast_Base::__construct() */ public function __construct($properties, Horde_Service_Weather_Base $weather, $type = Horde_Service_Weather::FORECAST_TYPE_STANDARD) { parent::__construct($properties, $weather, $type); $this->_parseStd(); }