[pLog-svn] r4790 - plog/branches/lifetype-1.2/class/net

reto at devel.lifetype.net reto at devel.lifetype.net
Tue Feb 20 16:11:03 EST 2007


Author: reto
Date: 2007-02-20 16:11:03 -0500 (Tue, 20 Feb 2007)
New Revision: 4790

Modified:
   plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php
   plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php
   plog/branches/lifetype-1.2/class/net/modrewriterequestgenerator.class.php
   plog/branches/lifetype-1.2/class/net/prettyrequestgenerator.class.php
   plog/branches/lifetype-1.2/class/net/rawrequestgenerator.class.php
Log:
oh my... this method was documented wrong... not sure why the customrequestgenerator is doing so much (badly documented) voodoo. Apparently it expects $date to be sometimes yyyymmdd, not yyyymm. But I can't see why and when...



Modified: plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php	2007-02-19 22:12:47 UTC (rev 4789)
+++ plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php	2007-02-20 21:11:03 UTC (rev 4790)
@@ -417,7 +417,7 @@
         /**
          * generates an archive link given a date. Must be implemented by child classes to generate a valid URL.
          *
-         * @param date A Timestamp object
+         * @param date A String in the format yyyymm
          * @return A valid archive link
          */      
         function getArchiveLink( $date )
@@ -693,4 +693,4 @@
 			throw( new Exception( "This function must be implemented by child classes." ));		
 		}		
     }
-?>
\ No newline at end of file
+?>

Modified: plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php	2007-02-19 22:12:47 UTC (rev 4789)
+++ plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php	2007-02-20 21:11:03 UTC (rev 4790)
@@ -82,7 +82,7 @@
         /**
          * generates an archive link given a date. 
          *
-         * @param date A Timestamp object
+         * @param date A String in the format yyyymm
          * @return A valid archive link
          */        
         function getArchiveLink( $date )
@@ -496,4 +496,4 @@
 			return( $pageFormat );
 		}
     }
-?>
\ No newline at end of file
+?>

Modified: plog/branches/lifetype-1.2/class/net/modrewriterequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/modrewriterequestgenerator.class.php	2007-02-19 22:12:47 UTC (rev 4789)
+++ plog/branches/lifetype-1.2/class/net/modrewriterequestgenerator.class.php	2007-02-20 21:11:03 UTC (rev 4790)
@@ -238,7 +238,7 @@
         /**
          * generates an archive link given a date. 
          *
-         * @param date A Timestamp object
+         * @param date A String in the format yyyymm
          * @return A valid archive link
          */                
         function getArchiveLink( $date )

Modified: plog/branches/lifetype-1.2/class/net/prettyrequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/prettyrequestgenerator.class.php	2007-02-19 22:12:47 UTC (rev 4789)
+++ plog/branches/lifetype-1.2/class/net/prettyrequestgenerator.class.php	2007-02-20 21:11:03 UTC (rev 4790)
@@ -45,7 +45,7 @@
         /**
          * generates an archive link given a date. 
          *
-         * @param date A Timestamp object
+         * @param date A String in the format yyyymm
          * @return A valid archive link
          */                
         function getArchiveLink( $date )
@@ -362,4 +362,4 @@
 			return( $pageFormat );
 		}		
     }
-?>
\ No newline at end of file
+?>

Modified: plog/branches/lifetype-1.2/class/net/rawrequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/rawrequestgenerator.class.php	2007-02-19 22:12:47 UTC (rev 4789)
+++ plog/branches/lifetype-1.2/class/net/rawrequestgenerator.class.php	2007-02-20 21:11:03 UTC (rev 4790)
@@ -274,7 +274,7 @@
         /**
          * generates an archive link given a date. 
          *
-         * @param date A Timestamp object
+         * @param date A String in the format yyyymm
          * @return A valid archive link
          */        
         function getArchiveLink( $date )



More information about the pLog-svn mailing list