XBRL-Global.php
public function findCachedFile( $url )
	{
		if ( ! $this->useCache ) return false;

		$path = str_replace( '//', '/', XBRL_Global::createPathFromUrl( $url, $this->cacheLocation ) );

		return file_exists( $path )
			? $path
			: false;
	}
public function findCachedFile( $url )
	{
		if ( ! $this->useCache ) return false;

		$path = str_replace( '//', '/', XBRL_Global::createPathFromUrl( $url, $this->cacheLocation ) );

		return file_exists( $path )
			? $path
			: false;
	}
public function findCachedFile ( $ url ) { if ( ! $ this -> useCache ) return false ; $ path = str_replace ( '//' , '/' , XBRL_Global :: createPathFromUrl ( $ url , $ this -> cacheLocation ) ) ; return file_exists ( $ path ) ? $ path : false ; }
Find a file in the cache if it exists.  If it exists return the path or return false.
@param string $url
@return false|string
Find a file in the cache if it exists . If it exists return the path or return false .