protected static function completeFilesCountsAndEditorLinks () {
		if (!static::$files) {
			$rawList = get_included_files();
			$list = [];
			$docRoot = str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']);
			$docRootLength = mb_strlen($docRoot);
			$tracyFileDetectionSubstr = '/tracy';
			foreach ($rawList as & $file) {
				$file = str_replace('\\', '/', $file);
				$text = mb_substr($file, $docRootLength);
				$tracyFile = mb_stripos($text, $tracyFileDetectionSubstr) !== FALSE;
				if (!$tracyFile) static::$appFilesCount += 1;
				static::$allFilesCount += 1;
				$href = \Tracy\Helpers::editorUri($file, 1);
				$list[] = '<a '.($tracyFile ? 'class="tracy" ':'').'href="'.$href.'"><nobr>'.$text.'</nobr></a><br />';
			}
			static::$files = & $list;
		}
	}
protected static function completeFilesCountsAndEditorLinks () {
		if (!static::$files) {
			$rawList = get_included_files();
			$list = [];
			$docRoot = str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']);
			$docRootLength = mb_strlen($docRoot);
			$tracyFileDetectionSubstr = '/tracy';
			foreach ($rawList as & $file) {
				$file = str_replace('\\', '/', $file);
				$text = mb_substr($file, $docRootLength);
				$tracyFile = mb_stripos($text, $tracyFileDetectionSubstr) !== FALSE;
				if (!$tracyFile) static::$appFilesCount += 1;
				static::$allFilesCount += 1;
				$href = \Tracy\Helpers::editorUri($file, 1);
				$list[] = '<a '.($tracyFile ? 'class="tracy" ':'').'href="'.$href.'"><nobr>'.$text.'</nobr></a><br />';
			}
			static::$files = & $list;
		}
	}
protected static function completeFilesCountsAndEditorLinks ( ) { if ( ! static :: $ files ) { $ rawList = get_included_files ( ) ; $ list = [ ] ; $ docRoot = str_replace ( '\\' , '/' , $ _SERVER [ 'DOCUMENT_ROOT' ] ) ; $ docRootLength = mb_strlen ( $ docRoot ) ; $ tracyFileDetectionSubstr = '/tracy' ; foreach ( $ rawList as & $ file ) { $ file = str_replace ( '\\' , '/' , $ file ) ; $ text = mb_substr ( $ file , $ docRootLength ) ; $ tracyFile = mb_stripos ( $ text , $ tracyFileDetectionSubstr ) !== FALSE ; if ( ! $ tracyFile ) static :: $ appFilesCount += 1 ; static :: $ allFilesCount += 1 ; $ href = \ Tracy \ Helpers :: editorUri ( $ file , 1 ) ; $ list [ ] = '<a ' . ( $ tracyFile ? 'class="tracy" ' : '' ) . 'href="' . $ href . '"><nobr>' . $ text . '</nobr></a><br />' ; } static :: $ files = & $ list ; } }
Complete final used PHP files list as list of HTML codes with editor links.
@return void
Complete final used PHP files list as list of HTML codes with editor links .