XBRL.php
public static function isCompiled( $compiledDir, $basename )
	{
		$extensions = array( 'json', 'zip' );
		// Make sure the dir ends in /
		$compiledDir = rtrim( $compiledDir, '/' ) . "/";

		foreach ( $extensions as $extension )
		{
			$compiledFile = "$compiledDir$basename.$extension";
			if ( ! file_exists( $compiledFile ) ) continue;
			return $compiledFile;
		}

		return false;
	}
public static function isCompiled( $compiledDir, $basename )
	{
		$extensions = array( 'json', 'zip' );
		// Make sure the dir ends in /
		$compiledDir = rtrim( $compiledDir, '/' ) . "/";

		foreach ( $extensions as $extension )
		{
			$compiledFile = "$compiledDir$basename.$extension";
			if ( ! file_exists( $compiledFile ) ) continue;
			return $compiledFile;
		}

		return false;
	}
public static function isCompiled ( $ compiledDir , $ basename ) { $ extensions = array ( 'json' , 'zip' ) ; // Make sure the dir ends in /
 $ compiledDir = rtrim ( $ compiledDir , '/' ) . "/" ; foreach ( $ extensions as $ extension ) { $ compiledFile = "$compiledDir$basename.$extension" ; if ( ! file_exists ( $ compiledFile ) ) continue ; return $ compiledFile ; } return false ; }
See if there are compiled files for the base name
@param string $compiledDir
@param string $basename
@return false|string
See if there are compiled files for the base name