CVS: phpweather phpweather.php,1.27,1.28
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-06-29 10:51:11
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv5442 Modified Files: phpweather.php Log Message: Fixed PE -> PL noticed by Ondrej Jombik <ne...@po...> - thanks. I also noticed that there wasn't a constructor(!) instead there was a function called metar_parser()... That's also fixed now. Index: phpweather.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/phpweather.php,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- phpweather.php 18 May 2002 09:20:20 -0000 1.27 +++ phpweather.php 29 Jun 2002 10:51:08 -0000 1.28 @@ -51,7 +51,7 @@ * * @param array The initial properties of the object. */ - function metar_parser($input = array()) { + function phpweather($input = array()) { /* This class doesn't have any defaults, so it just calls the * parent constructor. */ @@ -425,7 +425,7 @@ } elseif (ereg('^(VC)?' . /* Proximity */ '(-|\+)?' . /* Intensity */ '(MI|PR|BC|DR|BL|SH|TS|FZ)?' . /* Descriptor */ - '((DZ|RA|SN|SG|IC|PE|GR|GS|UP)+)?' . /* Precipitation */ + '((DZ|RA|SN|SG|IC|PL|GR|GS|UP)+)?' . /* Precipitation */ '(BR|FG|FU|VA|DU|SA|HZ|PY)?' . /* Obscuration */ '(PO|SQ|FC|SS)?$', /* Other */ $part, $regs)) { |