original_string: protected function getCacheFilename(Dwoo $dwoo)
  	{
  		// no cache id provided, use request_uri as default
  		if ($this->cacheId === null) {
  			if (isset($_SERVER['REQUEST_URI']) === true) {
  				$cacheId = $_SERVER['REQUEST_URI'];
  			} elseif (isset($_SERVER['SCRIPT_FILENAME']) && isset($_SERVER['argv'])) {
  				$cacheId = $_SERVER['SCRIPT_FILENAME'].'-'.implode('-', $_SERVER['argv']);
  			} else {
  				$cacheId = '';
  			}
  			// force compiled id generation
  			$this->getCompiledFilename($dwoo);
  
  			$this->cacheId = str_replace('../', '__', $this->compileId . strtr($cacheId, '\\%?=!:;'.PATH_SEPARATOR, '/-------'));
  		}
  		return $dwoo->getCacheDir() . $this->cacheId.'.html';
  	}
code: protected function getCacheFilename(Dwoo $dwoo)
  	{
  		// no cache id provided, use request_uri as default
  		if ($this->cacheId === null) {
  			if (isset($_SERVER['REQUEST_URI']) === true) {
  				$cacheId = $_SERVER['REQUEST_URI'];
  			} elseif (isset($_SERVER['SCRIPT_FILENAME']) && isset($_SERVER['argv'])) {
  				$cacheId = $_SERVER['SCRIPT_FILENAME'].'-'.implode('-', $_SERVER['argv']);
  			} else {
  				$cacheId = '';
  			}
  			// force compiled id generation
  			$this->getCompiledFilename($dwoo);
  
  			$this->cacheId = str_replace('../', '__', $this->compileId . strtr($cacheId, '\\%?=!:;'.PATH_SEPARATOR, '/-------'));
  		}
  		return $dwoo->getCacheDir() . $this->cacheId.'.html';
  	}
code_tokens: protected function getCacheFilename ( Dwoo $ dwoo ) { // no cache id provided, use request_uri as default if ( $ this -> cacheId === null ) { if ( isset ( $ _SERVER [ 'REQUEST_URI' ] ) === true ) { $ cacheId = $ _SERVER [ 'REQUEST_URI' ] ; } elseif ( isset ( $ _SERVER [ 'SCRIPT_FILENAME' ] ) && isset ( $ _SERVER [ 'argv' ] ) ) { $ cacheId = $ _SERVER [ 'SCRIPT_FILENAME' ] . '-' . implode ( '-' , $ _SERVER [ 'argv' ] ) ; } else { $ cacheId = '' ; } // force compiled id generation $ this -> getCompiledFilename ( $ dwoo ) ; $ this -> cacheId = str_replace ( '../' , '__' , $ this -> compileId . strtr ( $ cacheId , '\\%?=!:;' . PATH_SEPARATOR , '/-------' ) ) ; } return $ dwoo -> getCacheDir ( ) . $ this -> cacheId . '.html' ; }
docstring: returns the full cached file name and assigns a default value to it if
  required
  
  @param Dwoo $dwoo the dwoo instance that requests the file name
  @return string the full path to the cached file
docstring_tokens: returns the full cached file name and assigns a default value to it if required