From: Sebastian Bergmann Date: Fri, 10 Aug 2001 16:12:33 +0000 (+0000) Subject: Rename storage* to container*. X-Git-Tag: BEFORE_EXP_MERGE~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ac3adf9d2c68465f8b27cd0c53bb8ce083b6dac;p=php Rename storage* to container*. --- diff --git a/pear/Cache.php b/pear/Cache.php index 3bb28a28dc..efa05c9156 100644 --- a/pear/Cache.php +++ b/pear/Cache.php @@ -121,18 +121,18 @@ class Cache extends PEAR { /** * - * @param string Name of storage container class - * @param array Array with storage class dependend config options + * @param string Name of container class + * @param array Array with container class options */ - function Cache($storage_driver, $storage_options = '') + function Cache($container, $container_options = '') { $this->PEAR(); - $storage_driver = strtolower($storage_driver); - $storage_class = 'Cache_Container_' . $storage_driver; - $storage_classfile = 'Cache/Container/' . $storage_driver . '.php'; + $container = strtolower($container); + $container_class = 'Cache_Container_' . $container; + $container_classfile = 'Cache/Container/' . $container . '.php'; - include_once $storage_classfile; - $this->container = new $storage_class($storage_options); + include_once $container_classfile; + $this->container = new $container_class($container_options); } //deconstructor