Skip to content

Commit

Permalink
phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 28, 2014
1 parent 7aab641 commit 4ea6424
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions framework/Service_Weather/lib/Horde/Service/Weather/Station.php
Expand Up @@ -17,6 +17,17 @@
* @author Michael J Rubinsky <mrubinsk@horde.org>
* @category Horde
* @package Service_Weather
*
* @property string name The station's common name.
* @property string city The city.
* @property string state The state.
* @property string country The country's iso3166 name (if available).
* @property string country_name The country's common name.
* @property string tz The timezone name (if available).
* @property string lat The lattitude (if available).
* @property string lon The longitude (if available).
* @property string zip The postal code.
* @property string code The internal identifier for the API.
*/
class Horde_Service_Weather_Station
{
Expand Down
4 changes: 3 additions & 1 deletion framework/Service_Weather/lib/Horde/Service/Weather/Wwo.php
Expand Up @@ -225,7 +225,9 @@ protected function _parseStation($station)
'state' => $station->region[0]->value,
'country' => $station->country[0]->value,
'country_name' => '',
'tz' => '', // Not provided, can we assume it's the location's local?
// Only the *current* UTC offset is provided, with no indication
// if we are in DST or not, so this is pretty useless.
'tz' => '',
'lat' => $station->latitude,
'lon' => $station->longitude,
'zip' => '',
Expand Down

0 comments on commit 4ea6424

Please sign in to comment.