Author: Michael J Rubinsky (mrubinsk@horde.org)
Inheritance: implements IteratorAggregate
Esempio n. 1
0
 /**
  * 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();
     }
 }
Esempio n. 2
0
 /**
  * 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();
 }