From: Mark W. <ma...@rw...> - 2011-09-24 16:58:49
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi All, <br> <br> I have made some extensive changes to Monthly.php to object orientate the data selection from the db. This should reduce the level of repeated code across the various pages significantly once fully propagated. It also forms a good starting point to build the timezone stuff into.<br> <br> The two new classes are: <br> <br> <ul> <li>TsxTime -a single time entity (i.e. one row from the db)</li> <li>TsxTimeList - a set of times that have been retrieved from the db. (basically an array of TsxTime objects) with supporting functions</li> </ul> These updates have been made to the 2.0-branch. The timezone work still needs consideration but this code should help make things slightly easier.<br> <br> Please let me know your opinions.<br> <br> Thanks<br> <br> Mark<br> <br> <pre class="moz-signature" cols="72">-- _____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> </body> </html> |