[pLog-svn] r6942 - plog/branches/lifetype-1.2/class/view

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Jan 6 13:49:36 EST 2010


Author: jondaley
Date: 2010-01-06 13:49:36 -0500 (Wed, 06 Jan 2010)
New Revision: 6942

Modified:
   plog/branches/lifetype-1.2/class/view/view.class.php
Log:
typos in comments, and made an efficiency todo

Modified: plog/branches/lifetype-1.2/class/view/view.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/view/view.class.php	2010-01-06 18:48:57 UTC (rev 6941)
+++ plog/branches/lifetype-1.2/class/view/view.class.php	2010-01-06 18:49:36 UTC (rev 6942)
@@ -100,7 +100,7 @@
          function setValue( $name, $value )
          {
             //$this->_params[$name] = $value;
-            $this->_params->setValue( $name, $value );
+             $this->_params->setValue( $name, $value );
          }
 
          /**
@@ -294,6 +294,7 @@
 		 */
 		function getCurrentPageFromRequest()
 		{
+                // TODO: make the page static (or just a class variable?), rather than the whole request
             static $request;
 			if( $request == null )
 				$request = new Request( HttpVars::getRequest() );
@@ -321,9 +322,9 @@
          */
         function render()
         {
-            // send the headers we've been assigned if any, alognside the conten-type header
+            // send the headers we've been assigned if any, alongside the content-type header
             foreach( $this->_headers as $header )
-            header( $header );
+                header( $header );
 
             $this->sendContentType();            
         }



More information about the pLog-svn mailing list