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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri May 30 07:54:47 EDT 2008


Author: jondaley
Date: 2008-05-30 07:54:47 -0400 (Fri, 30 May 2008)
New Revision: 6495

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:
parent and child classes (and documentation) had gotten out of sync.  Removed old $page parameter

Modified: plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php	2008-05-30 11:36:16 UTC (rev 6494)
+++ plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php	2008-05-30 11:54:47 UTC (rev 6495)
@@ -453,7 +453,7 @@
         }
 
         /**
-         * Returns the trackback link for a given post. Must be implemented by child classes to generate a valid URL.
+         * Returns the trackback link for a given post.
          *
          * @param post The post with the necessary information.
          * @return A string representing the rdf trackback link.
@@ -463,7 +463,6 @@
         	$rdfHeader = '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                                    xmlns:dc="http://purl.org/dc/elements/1.1/"
                                    xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">';
-
             $trackbackLink = $this->getTrackbackUrl()."?id=".$post->getId();
 			$postLink = $this->postLink($post);
 			$topic = str_replace('-', '\-', $post->getTopic());
@@ -776,10 +775,9 @@
 		 * @param category
 		 * @param userInfo
 		 * @param date
-		 * @param page
 		 * @return the current url with its page
 		 */
-		function getCurrentUrl( $category = null, $userInfo = null, $date = null, $page = null )
+		function getCurrentUrl( $category = null, $userInfo = null, $date = null )
 		{
 			throw( new Exception( "This function must be implemented by child classes." ));
 		}

Modified: plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php	2008-05-30 11:36:16 UTC (rev 6494)
+++ plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php	2008-05-30 11:54:47 UTC (rev 6495)
@@ -458,7 +458,6 @@
 		 * @param category
 		 * @param userInfo
 		 * @param date
-		 * @param page
 		 * @return the current url with its page
 		 */		
 		function getCurrentUrl( $category = null, $userInfo = null, $date = -1 )

Modified: plog/branches/lifetype-1.2/class/net/modrewriterequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/modrewriterequestgenerator.class.php	2008-05-30 11:36:16 UTC (rev 6494)
+++ plog/branches/lifetype-1.2/class/net/modrewriterequestgenerator.class.php	2008-05-30 11:54:47 UTC (rev 6495)
@@ -378,10 +378,9 @@
 		 * @param category
 		 * @param userInfo
 		 * @param date
-		 * @param page
 		 * @return the current url with its page
 		 */
-		function getCurrentUrl( $category = null, $userInfo = null, $date = null, $page = null )
+		function getCurrentUrl( $category = null, $userInfo = null, $date = null )
 		{
 			if( $category ) {
 				$url = $this->categoryLink( $category );

Modified: plog/branches/lifetype-1.2/class/net/prettyrequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/prettyrequestgenerator.class.php	2008-05-30 11:36:16 UTC (rev 6494)
+++ plog/branches/lifetype-1.2/class/net/prettyrequestgenerator.class.php	2008-05-30 11:54:47 UTC (rev 6495)
@@ -329,10 +329,9 @@
 		 * @param category
 		 * @param userInfo
 		 * @param date
-		 * @param page
 		 * @return the current url with its page
 		 */
-		function getCurrentUrl( $category = null, $userInfo = null, $date = null, $page = null )
+		function getCurrentUrl( $category = null, $userInfo = null, $date = null )
 		{
 			if( $category ) {
 				$url = $this->categoryLink( $category );

Modified: plog/branches/lifetype-1.2/class/net/rawrequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/rawrequestgenerator.class.php	2008-05-30 11:36:16 UTC (rev 6494)
+++ plog/branches/lifetype-1.2/class/net/rawrequestgenerator.class.php	2008-05-30 11:54:47 UTC (rev 6495)
@@ -417,7 +417,6 @@
 		 * @param category
 		 * @param userInfo
 		 * @param date
-		 * @param page
 		 * @return the current url with its page
 		 */
 		function getCurrentUrl( $category = null, $userInfo = null, $date = -1 )



More information about the pLog-svn mailing list