Author: jlirochon
Date: 2010-03-10 14:03:45 +0100 (Wed, 10 Mar 2010)
New Revision: 28462

Modified:
   plugins/psToolboxPlugin/trunk/lib/cache/psNamedCache.class.php
Log:
added psNamedCache::removePattern()

Modified: plugins/psToolboxPlugin/trunk/lib/cache/psNamedCache.class.php
===================================================================
--- plugins/psToolboxPlugin/trunk/lib/cache/psNamedCache.class.php      
2010-03-10 13:03:25 UTC (rev 28461)
+++ plugins/psToolboxPlugin/trunk/lib/cache/psNamedCache.class.php      
2010-03-10 13:03:45 UTC (rev 28462)
@@ -121,7 +121,12 @@
     $key = self::generateKey($name, $params);
     return self::getInstance()->getCache()->remove($key);
   }
-  
+       
+  static public function removePattern($pattern)
+  {
+    return self::getInstance()->getCache()->removePattern($pattern);   
+  }
+    
   static public function clean($mode = sfCache::ALL)
   {
     return self::getInstance()->getCache()->clean($mode);
@@ -138,4 +143,4 @@
     $key = self::generateKey($name, $params);   
     return self::getInstance()->getCache()->getLastModified($key);
   }
-}
\ No newline at end of file
+}

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to