public function setCacheTemplate($name, $options)
    {
        if ($options instanceof Zend_Config) {
            $options = $options->toArray();
        } elseif (!is_array($options)) {
            // require_once 'Zend/Cache/Exception.php';
            throw new Zend_Cache_Exception('Options passed must be in'
                . ' an associative array or instance of Zend_Config');
        }
        $this->_optionTemplates[$name] = $options;
        return $this;
    }
public function setCacheTemplate($name, $options)
    {
        if ($options instanceof Zend_Config) {
            $options = $options->toArray();
        } elseif (!is_array($options)) {
            // require_once 'Zend/Cache/Exception.php';
            throw new Zend_Cache_Exception('Options passed must be in'
                . ' an associative array or instance of Zend_Config');
        }
        $this->_optionTemplates[$name] = $options;
        return $this;
    }
public function setCacheTemplate ( $ name , $ options ) { if ( $ options instanceof Zend_Config ) { $ options = $ options -> toArray ( ) ; } elseif ( ! is_array ( $ options ) ) { // require_once 'Zend/Cache/Exception.php'; throw new Zend_Cache_Exception ( 'Options passed must be in' . ' an associative array or instance of Zend_Config' ) ; } $ this -> _optionTemplates [ $ name ] = $ options ; return $ this ; }
Set a named configuration template from which a cache object can later
be lazy loaded

@param  string $name
@param  array $options
@return Zend_Cache_Manager
Set a named configuration template from which a cache object can later be lazy loaded