public function getCaches()
    {
        $caches = $this->_caches;
        foreach ($this->_optionTemplates as $name => $tmp) {
            if (!isset($caches[$name])) {
                $caches[$name] = $this->getCache($name);
            }
        }
        return $caches;
    }
public function getCaches()
    {
        $caches = $this->_caches;
        foreach ($this->_optionTemplates as $name => $tmp) {
            if (!isset($caches[$name])) {
                $caches[$name] = $this->getCache($name);
            }
        }
        return $caches;
    }
public function getCaches ( ) { $ caches = $ this -> _caches ; foreach ( $ this -> _optionTemplates as $ name => $ tmp ) { if ( ! isset ( $ caches [ $ name ] ) ) { $ caches [ $ name ] = $ this -> getCache ( $ name ) ; } } return $ caches ; }
Fetch all available caches

@return array An array of all available caches with it's names as key
Fetch all available caches