public function getCacheFilename($name)
    {
        if (false === $this->cache) {
            return false;
        }

        $class = substr($this->getTemplateClass($name), strlen($this->templateClassPrefix));

        return $this->getCache().'/'.substr($class, 0, 2).'/'.substr($class, 2, 2).'/'.substr($class, 4).'.php';
    }
public function getCacheFilename($name)
    {
        if (false === $this->cache) {
            return false;
        }

        $class = substr($this->getTemplateClass($name), strlen($this->templateClassPrefix));

        return $this->getCache().'/'.substr($class, 0, 2).'/'.substr($class, 2, 2).'/'.substr($class, 4).'.php';
    }
public function getCacheFilename ( $ name ) { if ( false === $ this -> cache ) { return false ; } $ class = substr ( $ this -> getTemplateClass ( $ name ) , strlen ( $ this -> templateClassPrefix ) ) ; return $ this -> getCache ( ) . '/' . substr ( $ class , 0 , 2 ) . '/' . substr ( $ class , 2 , 2 ) . '/' . substr ( $ class , 4 ) . '.php' ; }
Gets the cache filename for a given template.

@param string $name The template name

@return string|false The cache file name or false when caching is disabled
Gets the cache filename for a given template .