[pLog-svn] r3771 - plog/trunk/class/net

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Jul 22 19:47:55 GMT 2006


Author: jondaley
Date: 2006-07-22 19:47:55 +0000 (Sat, 22 Jul 2006)
New Revision: 3771

Modified:
   plog/trunk/class/net/linkparser.class.php
Log:
helper function to allow us to get the rewrite tags from other places, instead of having two hard-coded copies

Modified: plog/trunk/class/net/linkparser.class.php
===================================================================
--- plog/trunk/class/net/linkparser.class.php	2006-07-22 17:43:02 UTC (rev 3770)
+++ plog/trunk/class/net/linkparser.class.php	2006-07-22 19:47:55 UTC (rev 3771)
@@ -82,5 +82,14 @@
             
             return $result;
         }
+
+        function getValidTag($tagName){
+            if(isset($this->urlRewriteTags[$tagName])){
+                return $this->urlRewriteTags[$tagName];
+            }
+            else{
+                return false;
+            }
+        }
     }
 ?>



More information about the pLog-svn mailing list