cvs: pear /Cache_Lite Lite.php
| From: | Fabien MARTY | Date: | Thu, 25 Nov 2004 20:01:56 +0000 |
| Subject: | cvs: pear /Cache_Lite Lite.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-26493@lists.php.net to get a copy of this message | ||
fab Thu Nov 25 15:01:56 2004 EDT
Modified files:
/pear/Cache_Lite Lite.php
Log:
adding some docs
http://cvs.php.net/diff.php/pear/Cache_Lite/Lite.php?r1=1.21&r2=1.22&ty=u
Index: pear/Cache_Lite/Lite.php
diff -u pear/Cache_Lite/Lite.php:1.21 pear/Cache_Lite/Lite.php:1.22
--- pear/Cache_Lite/Lite.php:1.21 Tue Nov 23 13:01:18 2004
+++ pear/Cache_Lite/Lite.php Thu Nov 25 15:01:55 2004
@@ -22,7 +22,7 @@
*
* @package Cache_Lite
* @category Caching
-* @version $Id: Lite.php,v 1.21 2004/11/23 18:01:18 fab Exp $
+* @version $Id: Lite.php,v 1.22 2004/11/25 20:01:55 fab Exp $
* @author Fabien MARTY <fab@php.net>
*/
@@ -422,7 +422,10 @@
}
/**
+ * Save the state of the caching memory array into a cache file cache
*
+ * @param string $id cache id
+ * @param string $group name of the cache group
* @access public
*/
function saveMemoryCachingState($id, $group = 'default')
@@ -438,7 +441,11 @@
}
/**
+ * Load the state of the caching memory array from a given cache file cache
*
+ * @param string $id cache id
+ * @param string $group name of the cache group
+ * @param boolean $doNotTestCacheValidity if set to true, the cache validity won't be
tested
* @access public
*/
function getMemoryCachingState($id, $group = 'default', $doNotTestCacheValidity =
false)
@@ -500,7 +507,11 @@
}
/**
+ * Recursive function for cleaning cache file in the given directory
*
+ * @param string $dir directory complete path (with a trailing slash)
+ * @param string $group name of the cache group
+ * @param string $mode flush cache mode : 'old', 'ingroup',
'notingroup'
* @return boolean true if no problem
* @access private
*/