src/FileCache.php
protected function _getFileName($name){

		$name = trim($name);

		$name = iconv('ISO-8859-1', 'ASCII//TRANSLIT', $name);
		$name = preg_replace('/[^a-z0-9\-:]+/i', '_', $name);
		$name = str_replace(':', '.', $name);

		if($name == ''){

			throw new CacheException('Cache-entry name cannot be empty');
		}

		return "{$name}.cache";
	}
protected function _getFileName($name){

		$name = trim($name);

		$name = iconv('ISO-8859-1', 'ASCII//TRANSLIT', $name);
		$name = preg_replace('/[^a-z0-9\-:]+/i', '_', $name);
		$name = str_replace(':', '.', $name);

		if($name == ''){

			throw new CacheException('Cache-entry name cannot be empty');
		}

		return "{$name}.cache";
	}
protected function _getFileName ( $ name ) { $ name = trim ( $ name ) ; $ name = iconv ( 'ISO-8859-1' , 'ASCII//TRANSLIT' , $ name ) ; $ name = preg_replace ( '/[^a-z0-9\-:]+/i' , '_' , $ name ) ; $ name = str_replace ( ':' , '.' , $ name ) ; if ( $ name == '' ) { throw new CacheException ( 'Cache-entry name cannot be empty' ) ; } return "{$name}.cache" ; }
Get a cache-entry filename based upon the string provided.

@param string $name
@return string
@throws CacheException
Get a cache - entry filename based upon the string provided .