phphtmllib-devel Mailing List for phpHtmlLib (Page 16)
Status: Beta
Brought to you by:
hemna
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(33) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
(3) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
|
Oct
|
Nov
(2) |
Dec
(5) |
2004 |
Jan
(1) |
Feb
(8) |
Mar
(139) |
Apr
(65) |
May
(32) |
Jun
(55) |
Jul
(21) |
Aug
(60) |
Sep
(43) |
Oct
(1) |
Nov
(18) |
Dec
(34) |
2005 |
Jan
(25) |
Feb
(2) |
Mar
(49) |
Apr
(13) |
May
(40) |
Jun
(22) |
Jul
(21) |
Aug
(59) |
Sep
(178) |
Oct
(54) |
Nov
(3) |
Dec
(49) |
2006 |
Jan
(21) |
Feb
(1) |
Mar
(5) |
Apr
(29) |
May
(86) |
Jun
(79) |
Jul
(52) |
Aug
(127) |
Sep
(187) |
Oct
(90) |
Nov
(61) |
Dec
(48) |
2007 |
Jan
(79) |
Feb
(136) |
Mar
(58) |
Apr
(139) |
May
(293) |
Jun
(112) |
Jul
(138) |
Aug
(112) |
Sep
(148) |
Oct
(76) |
Nov
(29) |
Dec
(66) |
2008 |
Jan
(45) |
Feb
(60) |
Mar
(119) |
Apr
(169) |
May
(172) |
Jun
(136) |
Jul
(107) |
Aug
(114) |
Sep
(104) |
Oct
(26) |
Nov
(50) |
Dec
(48) |
2009 |
Jan
(9) |
Feb
(35) |
Mar
(22) |
Apr
(43) |
May
(83) |
Jun
(68) |
Jul
(58) |
Aug
(21) |
Sep
(23) |
Oct
(62) |
Nov
(36) |
Dec
(26) |
2010 |
Jan
(16) |
Feb
(83) |
Mar
(73) |
Apr
(51) |
May
(76) |
Jun
(96) |
Jul
(70) |
Aug
(33) |
Sep
(10) |
Oct
(1) |
Nov
(2) |
Dec
|
2011 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(12) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(3) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(1) |
2014 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
(2) |
Nov
(3) |
Dec
|
2015 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <he...@us...> - 2008-11-07 06:54:47
|
Revision: 3185 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3185&view=rev Author: hemna Date: 2008-11-07 06:54:42 +0000 (Fri, 07 Nov 2008) Log Message: ----------- make sure we trap the non dupe not found exception Modified Paths: -------------- trunk/open2300/lib/modules/api/RemoteUpdate.inc Modified: trunk/open2300/lib/modules/api/RemoteUpdate.inc =================================================================== --- trunk/open2300/lib/modules/api/RemoteUpdate.inc 2008-11-07 06:43:45 UTC (rev 3184) +++ trunk/open2300/lib/modules/api/RemoteUpdate.inc 2008-11-07 06:54:42 UTC (rev 3185) @@ -19,12 +19,22 @@ //in the db $datetime = $r->get('datetime'); if (!is_null($datetime)) { - $wx = weatherDataObject::find("datetime = :time", array(":time"=> $datetime)); - $GLOBALS['log']->debug('RemoteUpdate -- Dupe.'); - return "Duplicate"; + try { + $wx = weatherDataObject::find("datetime = :time", array(":time"=> $datetime)); + $GLOBALS['log']->debug('RemoteUpdate -- Dupe.'); + return "Duplicate"; + } catch (Exception $ex) { + //probably a not found + if ($ex->getCode() != phphtmllibException::DBDATAOBJECT_FIND_NOT_FOUND) { + throw $ex; + } else{ + //we didn't find it, so lets insert it. + $wx = new weatherDataObject(); + } + } } - $wx = new weatherDataObject(); + $meta = $wx->get_meta_data(); foreach($meta as $key => $val) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 06:43:50
|
Revision: 3184 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3184&view=rev Author: hemna Date: 2008-11-07 06:43:45 +0000 (Fri, 07 Nov 2008) Log Message: ----------- added Added Paths: ----------- trunk/open2300/bin/ trunk/open2300/bin/remote_update.php Added: trunk/open2300/bin/remote_update.php =================================================================== --- trunk/open2300/bin/remote_update.php (rev 0) +++ trunk/open2300/bin/remote_update.php 2008-11-07 06:43:45 UTC (rev 3184) @@ -0,0 +1,49 @@ +#!/usr/local/bin/php +<?php +/** + * This script is used to update the open2300 + * website that runs on a different machine + * from the wx station. + * + * @package open2300 + */ + +$lib_path = realpath('../lib'); +ini_set('include_path', '.:/usr/local/lib:'.$lib_path); + +define('PHPHTMLLIB', realpath('../lib/external/phphtmllib')); +$GLOBALS['path_base'] = realpath('..'); + +// autoload function for all our classes +require($GLOBALS['path_base'].'/lib/autoload.inc'); + +// setup error handling and required parameters +require($GLOBALS['path_base'].'/lib/init.inc'); + +$GLOBALS['config']->set('uncaught_exception_output', 'text'); + +//first we load the last entry from the DB +$wx = weatherDataObject::find("1=1 order by datetime desc"); + +//now construct the url call +$url = "http://".$GLOBALS['config']->get("remote_server_name"). + "/?target=remote-update"; + +$log->debug("remote_update: called"); +//var_dump($wx); +$rb = new RequestBuilder("RemoteUpdate"); +$rb->set_server($GLOBALS['config']->get('remote_server_name')); +$rb->set_url_type(Request::URL_TYPE_ABSOLUTE); + +//now construct the uri call +foreach($wx as $key => $value) { + $rb->set($key, $value); +} + +$url = html_entity_decode($rb->get_url()); +//echo($url."\n\n"); +//var_dump(strlen($url)); +//echo(html_entity_decode($url)."\n"); +var_dump(file_get_contents($url)); + +?> Property changes on: trunk/open2300/bin/remote_update.php ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 06:43:27
|
Revision: 3183 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3183&view=rev Author: hemna Date: 2008-11-07 06:43:22 +0000 (Fri, 07 Nov 2008) Log Message: ----------- remoteupdate Modified Paths: -------------- trunk/open2300/dev/autoload_generator.php Modified: trunk/open2300/dev/autoload_generator.php =================================================================== --- trunk/open2300/dev/autoload_generator.php 2008-11-07 06:42:19 UTC (rev 3182) +++ trunk/open2300/dev/autoload_generator.php 2008-11-07 06:43:22 UTC (rev 3183) @@ -21,7 +21,9 @@ $gen->set_include_path($path); $gen->add_form_content_parent('AjaxStandardFormContent'); $gen->set_debug_mode(true); -$gen->set_renderable_parents(array('Container','HTMLPage', 'HTMLWidget', 'HTMLDataList','myGraph')); +$gen->set_renderable_parents(array('Container','HTMLPage', 'HTMLWidget', + 'HTMLDataList','myGraph', + 'RemoteUpdate')); $gen->add_exclude('jpgraph-2.2'); $gen->execute(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 06:42:24
|
Revision: 3182 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3182&view=rev Author: hemna Date: 2008-11-07 06:42:19 +0000 (Fri, 07 Nov 2008) Log Message: ----------- remote update Modified Paths: -------------- trunk/open2300/lib/autoload.inc Modified: trunk/open2300/lib/autoload.inc =================================================================== --- trunk/open2300/lib/autoload.inc 2008-11-07 06:41:47 UTC (rev 3181) +++ trunk/open2300/lib/autoload.inc 2008-11-07 06:42:19 UTC (rev 3182) @@ -1,7 +1,7 @@ <?php /** * This is an auto-generated file. Please do not modify! - * Generated on 2008-11-06T18:05:57-08:00 by AutoloadGenerator + * Generated on 2008-11-06T21:59:59-08:00 by AutoloadGenerator * * @package open2300 */ @@ -190,6 +190,7 @@ 'ProjectGenerator'=>'external/phphtmllib/src/generator/ProjectGenerator.inc', 'RainLineGraph'=>'modules/graphs/RainLineGraph.inc', 'RedTheme'=>'external/phphtmllib/data/css/RedTheme.inc', +'RemoteUpdate'=>'modules/api/RemoteUpdate.inc', 'Request'=>'external/phphtmllib/src/request/Request.inc', 'RequestBuilder'=>'external/phphtmllib/src/request/RequestBuilder.inc', 'RoundTitleTable'=>'external/phphtmllib/src/widgets/RoundTitleTable.inc', @@ -275,6 +276,7 @@ 'pressure-line-graph'=>'PressureLineGraph', 'rain-line-graph'=>'RainLineGraph', 'red-theme'=>'RedTheme', +'remote-update'=>'RemoteUpdate', 'round-title-table'=>'RoundTitleTable', 'standard-dialog-w'=>'StandardDialogWidget', 'standard-theme'=>'StandardTheme', @@ -345,6 +347,7 @@ 'PressureLineGraph'=>'pressure-line-graph', 'RainLineGraph'=>'rain-line-graph', 'RedTheme'=>'red-theme', +'RemoteUpdate'=>'remote-update', 'RoundTitleTable'=>'round-title-table', 'StandardDialogWidget'=>'standard-dialog-w', 'StandardTheme'=>'standard-theme', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 06:41:50
|
Revision: 3181 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3181&view=rev Author: hemna Date: 2008-11-07 06:41:47 +0000 (Fri, 07 Nov 2008) Log Message: ----------- text mode working Modified Paths: -------------- trunk/open2300/lib/init.inc Modified: trunk/open2300/lib/init.inc =================================================================== --- trunk/open2300/lib/init.inc 2008-11-07 06:41:08 UTC (rev 3180) +++ trunk/open2300/lib/init.inc 2008-11-07 06:41:47 UTC (rev 3181) @@ -60,8 +60,8 @@ 'Target' => $target, 'Trace' => "\n".$trace ); - - if (Config::singleton()->get('uncaught_exception_output', 'html')) { + + if (Config::singleton()->get('uncaught_exception_output', 'html') == 'html') { if (!Config::singleton()->get('debug')) { $page = new ExceptionErrorPage(); print $page->render(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 06:41:10
|
Revision: 3180 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3180&view=rev Author: hemna Date: 2008-11-07 06:41:08 +0000 (Fri, 07 Nov 2008) Log Message: ----------- use const...it's php, not Java :P Modified Paths: -------------- trunk/open2300/lib/core/data/WXConversion.inc Modified: trunk/open2300/lib/core/data/WXConversion.inc =================================================================== --- trunk/open2300/lib/core/data/WXConversion.inc 2008-11-07 06:39:50 UTC (rev 3179) +++ trunk/open2300/lib/core/data/WXConversion.inc 2008-11-07 06:41:08 UTC (rev 3180) @@ -8,7 +8,7 @@ * * @var float */ - public static $MPHKNOTS = 0.868976242; + const MPHKNOTS = 0.868976242; /** * This method converts Fahrenheit to @@ -122,7 +122,7 @@ * @return float */ public static function mph_to_knots($mph) { - return (float)sprintf("%.2f", ($mph*WXConversion::$MPHKNOTS)); + return (float)sprintf("%.2f", ($mph*WXConversion::MPHKNOTS)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 06:39:57
|
Revision: 3179 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3179&view=rev Author: hemna Date: 2008-11-07 06:39:50 +0000 (Fri, 07 Nov 2008) Log Message: ----------- added Added Paths: ----------- trunk/open2300/lib/modules/api/ trunk/open2300/lib/modules/api/RemoteUpdate.inc Added: trunk/open2300/lib/modules/api/RemoteUpdate.inc =================================================================== --- trunk/open2300/lib/modules/api/RemoteUpdate.inc (rev 0) +++ trunk/open2300/lib/modules/api/RemoteUpdate.inc 2008-11-07 06:39:50 UTC (rev 3179) @@ -0,0 +1,43 @@ +<?php +/** + * This is a target that + * is called to add a new entry to the + * database from a remote wx box. + */ + +class RemoteUpdate extends Container { + + function __construct() { + + } + + function render($indent_level=0, $output_debug=0) { + $GLOBALS['log']->debug('RemoteUpdate called'); + $r = Request::singleton(); + + //first lets make sure we don't already have this entry + //in the db + $datetime = $r->get('datetime'); + if (!is_null($datetime)) { + $wx = weatherDataObject::find("datetime = :time", array(":time"=> $datetime)); + $GLOBALS['log']->debug('RemoteUpdate -- Dupe.'); + return "Duplicate"; + } + + $wx = new weatherDataObject(); + $meta = $wx->get_meta_data(); + + foreach($meta as $key => $val) { + //look for the request var + $method = "set_".$key; + $r_val = $r->get($key); + call_user_method($method, $wx, $r_val); + } + + //now save it to the db + $wx->save(); + $GLOBALS['log']->debug('RemoteUpdate -- saved new entry.'); + + } +} +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 05:51:38
|
Revision: 3178 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3178&view=rev Author: hemna Date: 2008-11-07 05:51:35 +0000 (Fri, 07 Nov 2008) Log Message: ----------- added Iterator support to the DBDataObject Modified Paths: -------------- trunk/phphtmllib/CHANGELOG trunk/phphtmllib/src/data/DBDataObject.inc Modified: trunk/phphtmllib/CHANGELOG =================================================================== --- trunk/phphtmllib/CHANGELOG 2008-11-07 04:48:57 UTC (rev 3177) +++ trunk/phphtmllib/CHANGELOG 2008-11-07 05:51:35 UTC (rev 3178) @@ -11,6 +11,7 @@ - fixed a bug with the label rendering for FENumberInRange - fixed an issue in DBDataObjectTemplateGenerator that was trying to generate a get_id() method which is marked as final in the parent class. + + Added DBDataObject Iterator support. version 3.0.2 - 03/18/08 - fixed a bug with RequestBuilder::get_url() when a RequestBuilder::set_file() was called. Modified: trunk/phphtmllib/src/data/DBDataObject.inc =================================================================== --- trunk/phphtmllib/src/data/DBDataObject.inc 2008-11-07 04:48:57 UTC (rev 3177) +++ trunk/phphtmllib/src/data/DBDataObject.inc 2008-11-07 05:51:35 UTC (rev 3178) @@ -36,7 +36,7 @@ * */ -abstract class DBDataObject extends DataObject { +abstract class DBDataObject extends DataObject implements Iterator { /** * Defines metadata for our * DataObject @@ -861,6 +861,66 @@ return array_keys( get_object_vars( $this ) ); } + /* -- Iterator functions -------------------------------------------------------*/ + + /** + * This Iterator method + * rewinds the index array + * + */ + public function rewind() { + reset($this->meta_data); + } + + /** + * This Iterator method + * gets the current value + * + * @return unknown + */ + public function current() { + $var = key($this->meta_data); + if ($var) { + $value = $this->get($var); + } else { + $value = false; + } + return $value; + } + + + /** + * This Iterator method gets the + * current key + * + * @return unknown + */ + public function key() { + $var = key($this->meta_data); + return $var; + } + + /** + * This Iterator method + * advances the index + * + * @return unknown + */ + public function next() { + $var = next($this->meta_data); + return $var; + } + + /** + * This Iterator method + * ensures the current value is valid. + * + * @return unknown + */ + public function valid() { + $var = $this->current() !== false; + return $var; + } } ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:49:06
|
Revision: 3177 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3177&view=rev Author: hemna Date: 2008-11-07 04:48:57 +0000 (Fri, 07 Nov 2008) Log Message: ----------- space between dew point and pressure Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:47:40 UTC (rev 3176) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:48:57 UTC (rev 3177) @@ -68,11 +68,11 @@ $metar .= "XXX "; //temperature and dew point - $metar .= WXConversion::fahrenheit_to_celsius($outside_temp, "%2.0f").'/'. - WXConversion::fahrenheit_to_celsius($dewpoint, "%2.0f"); + $metar .= WXConversion::fahrenheit_to_celsius($outside_temp, "%02.0f").'/'. + WXConversion::fahrenheit_to_celsius($dewpoint, "%02.0f"); //now pressure - $metar .= "A".$this->wx->get_rel_pressure()*100; + $metar .= " A".$this->wx->get_rel_pressure()*100; //remarks section $metar .= " RMK A02 "; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:47:42
|
Revision: 3176 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3176&view=rev Author: hemna Date: 2008-11-07 04:47:40 +0000 (Fri, 07 Nov 2008) Log Message: ----------- move AUTO Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:46:42 UTC (rev 3175) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:47:40 UTC (rev 3176) @@ -46,14 +46,16 @@ if (FALSE) { $cur_date = new DateTime($this->wx->get_datetime()); $cur_date->setTimezone(new DateTimeZone("UTC")); - $metar .= " ".$cur_date->format("dHi")."Z AUTO "; + $metar .= " ".$cur_date->format("dHi")."Z"; } else { - $metar .= " 000000Z AUTO"; + $metar .= " 000000Z"; } + + $outside_temp = $this->wx->get_temp_out(); $dewpoint = $this->wx->get_dewpoint(); - $metar .= ""; + $metar .= " AUTO "; //now do wind $wind_dir = $this->wx->get_wind_direction(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:46:51
|
Revision: 3175 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3175&view=rev Author: hemna Date: 2008-11-07 04:46:42 +0000 (Fri, 07 Nov 2008) Log Message: ----------- yuk:z Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:45:42 UTC (rev 3174) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:46:42 UTC (rev 3175) @@ -48,7 +48,7 @@ $cur_date->setTimezone(new DateTimeZone("UTC")); $metar .= " ".$cur_date->format("dHi")."Z AUTO "; } else { - $metar .= "NODATE AUTO"; + $metar .= " 000000Z AUTO"; } $outside_temp = $this->wx->get_temp_out(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:45:44
|
Revision: 3174 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3174&view=rev Author: hemna Date: 2008-11-07 04:45:42 +0000 (Fri, 07 Nov 2008) Log Message: ----------- gah Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:43:42 UTC (rev 3173) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:45:42 UTC (rev 3174) @@ -42,11 +42,11 @@ $stmt = $db->queryBindOneRowCache("Select min(temp_out) as low, max(temp_out) as high from weather where datetime like :date", array(":date" => $today.'%')); - if (class_exists("DateTime")) { - $cur_date = new DateTime($this->wx->get_datetime()); - //$metar .= "<br>".$cur_date->format("dHi")."<br>"; - $cur_date->setTimezone(new DateTimeZone("UTC")); - $metar .= " ".$cur_date->format("dHi")."Z AUTO "; + //if (class_exists("DateTime")) { + if (FALSE) { + $cur_date = new DateTime($this->wx->get_datetime()); + $cur_date->setTimezone(new DateTimeZone("UTC")); + $metar .= " ".$cur_date->format("dHi")."Z AUTO "; } else { $metar .= "NODATE AUTO"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:43:46
|
Revision: 3173 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3173&view=rev Author: hemna Date: 2008-11-07 04:43:42 +0000 (Fri, 07 Nov 2008) Log Message: ----------- dump the error to the app log Modified Paths: -------------- trunk/open2300/lib/init.inc Modified: trunk/open2300/lib/init.inc =================================================================== --- trunk/open2300/lib/init.inc 2008-11-07 04:41:21 UTC (rev 3172) +++ trunk/open2300/lib/init.inc 2008-11-07 04:43:42 UTC (rev 3173) @@ -65,6 +65,7 @@ if (!Config::singleton()->get('debug')) { $page = new ExceptionErrorPage(); print $page->render(); + $GLOBALS["log"]->emerg("Uncaught Exception", $exception); return; } else { $html = '<table width="100%" cellpadding="2" cellspacing="0" style="border:1px solid #9999ff;">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:41:26
|
Revision: 3172 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3172&view=rev Author: hemna Date: 2008-11-07 04:41:21 +0000 (Fri, 07 Nov 2008) Log Message: ----------- added check for DateTime object... needs to be php 5.2.x Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:36:35 UTC (rev 3171) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:41:21 UTC (rev 3172) @@ -42,10 +42,14 @@ $stmt = $db->queryBindOneRowCache("Select min(temp_out) as low, max(temp_out) as high from weather where datetime like :date", array(":date" => $today.'%')); + if (class_exists("DateTime")) { $cur_date = new DateTime($this->wx->get_datetime()); //$metar .= "<br>".$cur_date->format("dHi")."<br>"; $cur_date->setTimezone(new DateTimeZone("UTC")); - $metar .= " ".$cur_date->format("dHi")."Z AUTO "; + $metar .= " ".$cur_date->format("dHi")."Z AUTO "; + } else { + $metar .= "NODATE AUTO"; + } $outside_temp = $this->wx->get_temp_out(); $dewpoint = $this->wx->get_dewpoint(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:36:38
|
Revision: 3171 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3171&view=rev Author: hemna Date: 2008-11-07 04:36:35 +0000 (Fri, 07 Nov 2008) Log Message: ----------- new file Modified Paths: -------------- trunk/open2300/lib/autoload.inc Modified: trunk/open2300/lib/autoload.inc =================================================================== --- trunk/open2300/lib/autoload.inc 2008-11-07 04:35:42 UTC (rev 3170) +++ trunk/open2300/lib/autoload.inc 2008-11-07 04:36:35 UTC (rev 3171) @@ -1,7 +1,7 @@ <?php /** * This is an auto-generated file. Please do not modify! - * Generated on 2008-03-13T13:45:00-07:00 by AutoloadGenerator + * Generated on 2008-11-06T18:05:57-08:00 by AutoloadGenerator * * @package open2300 */ @@ -20,7 +20,6 @@ 'AjaxableHTMLWidget'=>'external/phphtmllib/src/widgets/AjaxableHTMLWidget.inc', 'AjaxablePage'=>'external/phphtmllib/src/page/AjaxablePage.inc', 'AjaxActionBarItem'=>'external/phphtmllib/src/menu/data/AjaxActionBarItem.inc', -'AjaxActiveTab'=>'external/phphtmllib/src/widgets/AjaxActiveTab.inc', 'AjaxDataListSearchFormContent'=>'external/phphtmllib/src/datalist/search/AjaxDataListSearchFormContent.inc', 'AjaxDataListSimpleSearchFormContent'=>'external/phphtmllib/src/datalist/search/AjaxDataListSimpleSearchFormContent.inc', 'AjaxDefaultHTMLDataList'=>'external/phphtmllib/src/datalist/AjaxDefaultHTMLDataList.inc', @@ -173,6 +172,7 @@ 'MessageBoxOK'=>'external/phphtmllib/src/widgets/MessageBoxOK.inc', 'MessageBoxOKCancel'=>'external/phphtmllib/src/widgets/MessageBoxOKCancel.inc', 'MessageBoxWidget'=>'external/phphtmllib/src/widgets/MessageBoxWidget.inc', +'MetarTextCurrentConditions'=>'modules/home/widgets/MetarTextCurrentConditions.inc', 'myGraph'=>'modules/graphs/myGraph.inc', 'NavTable'=>'external/phphtmllib/src/widgets/NavTable.inc', 'NavTableCSS'=>'external/phphtmllib/src/widgets/css/NavTableCSS.inc', @@ -269,6 +269,7 @@ 'message-box-o-k'=>'MessageBoxOK', 'message-box-o-k-cancel'=>'MessageBoxOKCancel', 'message-box-w'=>'MessageBoxWidget', +'metar-text-current-conditions'=>'MetarTextCurrentConditions', 'nav-table'=>'NavTable', 'open-2-3-0-0'=>'open2300Page', 'pressure-line-graph'=>'PressureLineGraph', @@ -338,6 +339,7 @@ 'MessageBoxOK'=>'message-box-o-k', 'MessageBoxOKCancel'=>'message-box-o-k-cancel', 'MessageBoxWidget'=>'message-box-w', +'MetarTextCurrentConditions'=>'metar-text-current-conditions', 'NavTable'=>'nav-table', 'open2300Page'=>'open-2-3-0-0', 'PressureLineGraph'=>'pressure-line-graph', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:35:45
|
Revision: 3170 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3170&view=rev Author: hemna Date: 2008-11-07 04:35:42 +0000 (Fri, 07 Nov 2008) Log Message: ----------- added formats and mph to knots Modified Paths: -------------- trunk/open2300/lib/core/data/WXConversion.inc Modified: trunk/open2300/lib/core/data/WXConversion.inc =================================================================== --- trunk/open2300/lib/core/data/WXConversion.inc 2008-11-07 04:34:59 UTC (rev 3169) +++ trunk/open2300/lib/core/data/WXConversion.inc 2008-11-07 04:35:42 UTC (rev 3170) @@ -1,6 +1,14 @@ <?php class WXConversion { + + /** + * mulitply miles per hour by this + * to get knots. + * + * @var float + */ + public static $MPHKNOTS = 0.868976242; /** * This method converts Fahrenheit to @@ -9,8 +17,8 @@ * @param integer $temp * @return float */ - public static function fahrenheit_to_celsius($temp) { - return (float)sprintf("%.1f",(($temp - 32) / 1.8)); + public static function fahrenheit_to_celsius($temp, $format="%.1f") { + return (float)sprintf($format,(($temp - 32) / 1.8)); } /** @@ -19,8 +27,8 @@ * @param float $temp * @return float */ - public static function celsius_to_fahrenheit($temp) { - return (float)sprintf("%.1f",(($temp * 1.8) + 32)); + public static function celsius_to_fahrenheit($temp, $format="%.1f") { + return (float)sprintf($format,(($temp * 1.8) + 32)); } /** @@ -29,8 +37,8 @@ * @param float $temp * @return float */ - public static function celsius_to_kelvin($temp) { - return (float)sprintf("%.2f", ($temp + 273.15)); + public static function celsius_to_kelvin($temp, $format="%.2f") { + return (float)sprintf($format, ($temp + 273.15)); } /** @@ -39,8 +47,8 @@ * @param float $temp * @return float */ - public static function kelvin_to_celsius($temp) { - return (float)sprintf("%.2f", (273.15 - $temp)); + public static function kelvin_to_celsius($temp, $format="%.2f") { + return (float)sprintf($format, (273.15 - $temp)); } /** @@ -49,8 +57,8 @@ * @param float $temp * @return float */ - public static function fahrenheit_to_kelvin($temp) { - return self::celsius_to_kelvin(self::fahrenheit_to_celsius($temp)); + public static function fahrenheit_to_kelvin($temp, $format="%.1f") { + return self::celsius_to_kelvin(self::fahrenheit_to_celsius($temp, $format)); } /** @@ -59,8 +67,8 @@ * @package float $temp * @return float */ - public static function kelvin_to_fahrenheit($temp) { - return self::celsius_to_fahrenheit(self::kelvin_to_celsius($temp)); + public static function kelvin_to_fahrenheit($temp, $format="%.1f") { + return self::celsius_to_fahrenheit(self::kelvin_to_celsius($temp, $format)); } @@ -70,8 +78,8 @@ * @param float $pressure * @return float */ - public static function inchmercury_to_millibars($pressure) { - return (float)sprintf("%.2f", ($pressure * 33.8638)); + public static function inchmercury_to_millibars($pressure, $format="%.2f") { + return (float)sprintf($format, ($pressure * 33.8638)); } /** @@ -82,8 +90,8 @@ * * @param unknown_type $pressure */ - public static function millibars_to_inchmercury($pressure) { - return (float)sprintf("%.2f", ($pressure / 33.8638)); + public static function millibars_to_inchmercury($pressure, $format="%.2f") { + return (float)sprintf($format, ($pressure / 33.8638)); } /** @@ -92,8 +100,8 @@ * @param float $pressure * @return float */ - public static function inchmercury_to_atmospheres($pressure) { - return sprintf("%.2f", ($pressure * .0334211)); + public static function inchmercury_to_atmospheres($pressure, $format="%.2f") { + return sprintf($format, ($pressure * .0334211)); } /** @@ -102,13 +110,24 @@ * @param float $pressure * @return float */ - public static function atmospheres_to_inchmercury($pressure) { - return (float)sprintf("%.2f", ($pressure / .0334211)); + public static function atmospheres_to_inchmercury($pressure, $format="%.2f") { + return (float)sprintf($format, ($pressure / .0334211)); } + /** + * This method converts mph to knots + * + * @param float $mph + * @return float + */ + public static function mph_to_knots($mph) { + return (float)sprintf("%.2f", ($mph*WXConversion::$MPHKNOTS)); + } + + } ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 04:35:03
|
Revision: 3169 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3169&view=rev Author: hemna Date: 2008-11-07 04:34:59 +0000 (Fri, 07 Nov 2008) Log Message: ----------- added metar Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc Added Paths: ----------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Added: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc (rev 0) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:34:59 UTC (rev 3169) @@ -0,0 +1,79 @@ +<?php +/** + * This file contains the CurrentConditions + * widget class. + */ + + + +class MetarTextCurrentConditions extends AjaxableHTMLWidget { + + /** + * This contains the current + * weatherDataObject for + * the conditions that you want to display + * + * @var weatherDataObject + */ + protected $wx; + + /** + * Class Constructor + * + */ + public function __construct(weatherDataObject $wx=null) { + parent::__construct(); + if ($wx == null) { + //we don't have the current conditions. + //we need to get them + $this->wx = weatherDataObject::find("1=1 order by datetime desc"); + } else { + $this->wx = $wx; + } + } + + public function get_content() { + + $metar = $GLOBALS['config']->get('station_name'); + + //get today's High, and today's Low so far. + $db = open2300DB::singleton(); + $today = date("Y-m-d"); + + $stmt = $db->queryBindOneRowCache("Select min(temp_out) as low, max(temp_out) as high from weather where datetime like :date", array(":date" => $today.'%')); + + $cur_date = new DateTime($this->wx->get_datetime()); + //$metar .= "<br>".$cur_date->format("dHi")."<br>"; + $cur_date->setTimezone(new DateTimeZone("UTC")); + $metar .= " ".$cur_date->format("dHi")."Z AUTO "; + + $outside_temp = $this->wx->get_temp_out(); + $dewpoint = $this->wx->get_dewpoint(); + $metar .= ""; + + //now do wind + $wind_dir = $this->wx->get_wind_direction(); + $wind_angle = $this->wx->get_wind_angle(); + $wind_speed = WXConversion::mph_to_knots($this->wx->get_wind_speed()); + + $metar .= sprintf("%3.0f",$wind_angle).sprintf("%02.0fKT ",$wind_speed); + + //we don't have sky conditions. + $metar .= "XXX "; + + //temperature and dew point + $metar .= WXConversion::fahrenheit_to_celsius($outside_temp, "%2.0f").'/'. + WXConversion::fahrenheit_to_celsius($dewpoint, "%2.0f"); + + //now pressure + $metar .= "A".$this->wx->get_rel_pressure()*100; + + //remarks section + $metar .= " RMK A02 "; + //rain in the last hour + $metar .= sprintf("P%0004.0f",($this->wx->get_rain_1h()*100)); + Log::singleton()->info($metar); + return $metar; + } +} +?> Modified: trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc 2008-10-06 23:28:29 UTC (rev 3168) +++ trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc 2008-11-07 04:34:59 UTC (rev 3169) @@ -39,7 +39,7 @@ //get today's High, and today's Low so far. $db = open2300DB::singleton(); $today = date("Y-m-d"); - $output = ""; + $output = ""; $stmt = $db->queryBindOneRowCache("Select min(temp_out) as low, max(temp_out) as high from weather where datetime like :date", array(":date" => $today.'%')); $low = $stmt->low; $high = $stmt->high; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Via d. V. Ltda. <ne...@vi...> - 2008-10-12 04:18:37
|
Visite http://vdv.tchesoft.com:8080/r.html?uid=1.7.17fi.x.94cbht442x !! |
From: Fyffe G. <ent...@eu...> - 2008-10-09 16:25:35
|
New lifeee! Are you trying to dokid me? A dirty schlemiel lady she would get a better view, he explained. She threatened his as she went dragging through now, she was being offered another angle which from what i've heard. There might be some sharp. |
From: Felipe <fe...@cl...> - 2008-10-07 00:43:00
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>:: i Marketing ::</title> <style type="text/css"> <!-- .style12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; } a:link { color: #E69431; } a:hover { color: #E69431; } body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } a:visited { color: #999999; } a:active { color: #FFFFFF; } --> </style> </head> <body> <table width="550" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><div align="center" class="style12"> <div align="center"><a href="#"></a><a href="http://www.clubepop.com.br/campanha/franqueado10/">:: Acesse para visualizar o e-mail ::</a></div> </div></td> </tr> </table> <table width="550" height="360" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01"> <tr> <td><a href="http://www.clubepop.com.br/campanha/franqueado/hotsite.html" target="_blank"><img src="http://www.clubepop.com.br/campanha/franqueado10/l4_01.jpg" width="550" height="183" border="0" /></a></td> </tr> <tr> <td><a href="http://www.clubepop.com.br/campanha/franqueado/hotsite.html" target="_blank"><img src="http://www.clubepop.com.br/campanha/franqueado10/l4_02.jpg" width="550" height="177" border="0" /></a></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="550" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><div align="center"><a href="http://www.clubepop.com.br" target="_blank"><img src="http://www.clubepop.com.br/cliente/_logo_imkt_rodapeh/logoimark.gif" alt="" width="170" height="44" border="0" /></a></div></td> </tr> <tr> <td height="40" class="textop"><div align="center" class="style12"> <p align="center">O conteúdo deste anúncio é de inteira responsabilidade do contratante<br /> Caso queira remover seu nome desta lista, <a href="http://www.clubepop.com.br/remove">acesse</a></p> </div></td> </tr> <tr> <td height="40"> </td> </tr> </table> <a href="#"></a></td> </tr> </table> <p> </p> </body> </html> |
From: <he...@us...> - 2008-10-06 23:31:49
|
Revision: 3168 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3168&view=rev Author: hemna Date: 2008-10-06 23:28:29 +0000 (Mon, 06 Oct 2008) Log Message: ----------- added FEIPv6Address Modified Paths: -------------- trunk/phphtmllib.newsblob.com/htdocs/examples/form3.php Modified: trunk/phphtmllib.newsblob.com/htdocs/examples/form3.php =================================================================== --- trunk/phphtmllib.newsblob.com/htdocs/examples/form3.php 2008-10-06 23:18:46 UTC (rev 3167) +++ trunk/phphtmllib.newsblob.com/htdocs/examples/form3.php 2008-10-06 23:28:29 UTC (rev 3168) @@ -133,6 +133,7 @@ // Same constructor as FEText $this->add_element(new FEIPAddress("FEIPAddress label", false, "200px")); + $this->add_element(new FEIPv6Address("FEIPv6Address label", false, "200px")); // Same constructor as FEHostNameWithPort $this->add_element(new FEIPAddressWithPort("FEIPAddressWithPort label", false)); @@ -190,7 +191,7 @@ // FENumberInRange (label $label, [bool $required = TRUE], [int $width // = NULL], [int $maxlength = NULL], int $min, [int $max = 100], // [boolean $label_flag = TRUE]) - $this->add_element(new FENumberInRange("FENumberInRange label", false, "200px", null, 1, 10)); + $this->add_element(new FENumberInRange("FENumberInRange label", true, "200px", null, 1, 10)); // Same constructor as FEText This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-10-06 23:23:39
|
Revision: 3167 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3167&view=rev Author: hemna Date: 2008-10-06 23:18:46 +0000 (Mon, 06 Oct 2008) Log Message: ----------- DBDataObjectTemplateGenerator issue Modified Paths: -------------- trunk/phphtmllib/CHANGELOG Modified: trunk/phphtmllib/CHANGELOG =================================================================== --- trunk/phphtmllib/CHANGELOG 2008-10-06 23:17:53 UTC (rev 3166) +++ trunk/phphtmllib/CHANGELOG 2008-10-06 23:18:46 UTC (rev 3167) @@ -9,6 +9,8 @@ + Added a prompt in the ProjectGenerator to ask to include DataBase support while creating a new project. - fixed a bug with the label rendering for FENumberInRange + - fixed an issue in DBDataObjectTemplateGenerator that was trying to generate a get_id() method which is + marked as final in the parent class. version 3.0.2 - 03/18/08 - fixed a bug with RequestBuilder::get_url() when a RequestBuilder::set_file() was called. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-10-06 23:21:01
|
Revision: 3166 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3166&view=rev Author: hemna Date: 2008-10-06 23:17:53 +0000 (Mon, 06 Oct 2008) Log Message: ----------- make sure we don't try and generate a get_id() in the child...it's final in the parent Modified Paths: -------------- trunk/phphtmllib/src/generator/DBDataObjectTemplateGenerator.inc Modified: trunk/phphtmllib/src/generator/DBDataObjectTemplateGenerator.inc =================================================================== --- trunk/phphtmllib/src/generator/DBDataObjectTemplateGenerator.inc 2008-10-06 23:13:26 UTC (rev 3165) +++ trunk/phphtmllib/src/generator/DBDataObjectTemplateGenerator.inc 2008-10-06 23:17:53 UTC (rev 3166) @@ -345,11 +345,16 @@ if (!in_array($field_name, $this->skip_field_functions)) { $access_block .= str_replace(array('{FIELD}', '{FIELD_TYPE}'), - array($field_name, $this->convert_to_php_type($col['db_field_type'])), $access_block_set); + array($field_name, $this->convert_to_php_type($col['db_field_type'])), $access_block_set); } + + //we can't override get_id, as it's final. + if ($field_name != "id") { + $access_block .= str_replace(array('{FIELD}', '{FIELD_TYPE}'), + array($field_name, $this->convert_to_php_type($col['db_field_type'])), $access_block_get); + } - $access_block .= str_replace(array('{FIELD}', '{FIELD_TYPE}'), - array($field_name, $this->convert_to_php_type($col['db_field_type'])), $access_block_get); + $to_string_block .= '" '.$field_name.' = ". $this->get_'.$field_name.'(). '; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-10-06 23:17:07
|
Revision: 3165 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3165&view=rev Author: hemna Date: 2008-10-06 23:13:26 +0000 (Mon, 06 Oct 2008) Log Message: ----------- fixed typeoh Modified Paths: -------------- trunk/phphtmllib/src/validation/NetworkValidator.inc Modified: trunk/phphtmllib/src/validation/NetworkValidator.inc =================================================================== --- trunk/phphtmllib/src/validation/NetworkValidator.inc 2008-10-06 23:01:14 UTC (rev 3164) +++ trunk/phphtmllib/src/validation/NetworkValidator.inc 2008-10-06 23:13:26 UTC (rev 3165) @@ -242,7 +242,7 @@ public static function is_ip_v6($ip) { //try and use filter_var if we have it //requires php 5.2.0 or > - if (function_exixsts("filter_var")) { + if (function_exists("filter_var")) { if(filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) === FALSE) { self::error(phphtmllibException::STR_INVALID_IP); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-10-06 23:01:19
|
Revision: 3164 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3164&view=rev Author: hemna Date: 2008-10-06 23:01:14 +0000 (Mon, 06 Oct 2008) Log Message: ----------- redraw uncaught exceptions as text here Modified Paths: -------------- trunk/phphtmllib.newsblob.com/dev/dot_generator.php Modified: trunk/phphtmllib.newsblob.com/dev/dot_generator.php =================================================================== --- trunk/phphtmllib.newsblob.com/dev/dot_generator.php 2008-10-06 23:00:19 UTC (rev 3163) +++ trunk/phphtmllib.newsblob.com/dev/dot_generator.php 2008-10-06 23:01:14 UTC (rev 3164) @@ -23,6 +23,9 @@ //require_once('external/phphtmllib/required_includes.inc'); require_once('external/phphtmllib/src/generator/DBDataObjectTemplateGenerator.inc'); +//we want text output +$config->set('uncaught_exception_output', 'text'); + $xml = implode('',file('dot_config.xml')); $gen = new DBDataObjectTemplateGenerator($xml); $gen->set_base_path('../lib/core/data/dataobjects'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |