cvs: php4 /pear/Cache/Container shm.php
| From: | Ulf Wendel | Date: | Sat, 03 Mar 2001 19:05:55 +0000 |
| Subject: | cvs: php4 /pear/Cache/Container shm.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4371@lists.php.net to get a copy of this message | ||
uw Sat Mar 3 11:05:55 2001 EDT
Modified files:
/php4/pear/Cache/Container shm.php
Log:
Updates for the new structure/featues
Index: php4/pear/Cache/Container/shm.php
diff -u php4/pear/Cache/Container/shm.php:1.2 php4/pear/Cache/Container/shm.php:1.3
--- php4/pear/Cache/Container/shm.php:1.2 Thu Mar 1 09:18:23 2001
+++ php4/pear/Cache/Container/shm.php Sat Mar 3 11:05:55 2001
@@ -17,7 +17,7 @@
// | Björn Schotte <bjoern@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: shm.php,v 1.2 2001/03/01 17:18:23 sbergmann Exp $
+// $Id: shm.php,v 1.3 2001/03/03 19:05:55 uw Exp $
require_once 'Cache/Container.php';
@@ -25,7 +25,7 @@
* Stores cache data into shared memory.
*
* @author Björn Schotte <bjoern@php.net>
-* @version $Id: shm.php,v 1.2 2001/03/01 17:18:23 sbergmann Exp $
+* @version $Id: shm.php,v 1.3 2001/03/03 19:05:55 uw Exp $
* @package Cache
*/
class Cache_Container_shm extends Cache_Container {
@@ -34,26 +34,26 @@
{
}
- function fetch($id)
+ function fetch($id, $group)
{
} // end func fetch
- function save($id, $data, $expires = 0)
+ function save($id, $data, $expire, $group, $userdata)
{
- $this->flushPreload($id);
+ $this->flushPreload($id, $group);
} // end func save
- function delete($id)
+ function delete($id, $group)
{
- $this->flushPreload($id);
+ $this->flushPreload($id, $group);
} // end func delete
- function flush()
+ function flush($group = "")
{
$this->flushPreload();
} // end func flush
- function idExists($id)
+ function idExists($id, $group)
{
} // end func isExists