protected static function formatDebugDumps () {
		$dumps = '';
		$lastDump = FALSE;
		$app = static::$app ?: (static::$app = & \MvcCore\Application::GetInstance());
		$appRoot = $app->GetRequest()->GetAppRoot();
		foreach (self::$dumps as $values) {
			list($dumpResult, $lastDumpLocal) = self::formatDebugDump($values, $appRoot);
			$dumps .= $dumpResult;
			if ($lastDumpLocal) $lastDump = $lastDumpLocal;
		}
		return [$dumps, $lastDump];
	}
protected static function formatDebugDumps () {
		$dumps = '';
		$lastDump = FALSE;
		$app = static::$app ?: (static::$app = & \MvcCore\Application::GetInstance());
		$appRoot = $app->GetRequest()->GetAppRoot();
		foreach (self::$dumps as $values) {
			list($dumpResult, $lastDumpLocal) = self::formatDebugDump($values, $appRoot);
			$dumps .= $dumpResult;
			if ($lastDumpLocal) $lastDump = $lastDumpLocal;
		}
		return [$dumps, $lastDump];
	}
protected static function formatDebugDumps ( ) { $ dumps = '' ; $ lastDump = FALSE ; $ app = static :: $ app ? : ( static :: $ app = & \ MvcCore \ Application :: GetInstance ( ) ) ; $ appRoot = $ app -> GetRequest ( ) -> GetAppRoot ( ) ; foreach ( self :: $ dumps as $ values ) { list ( $ dumpResult , $ lastDumpLocal ) = self :: formatDebugDump ( $ values , $ appRoot ) ; $ dumps .= $ dumpResult ; if ( $ lastDumpLocal ) $ lastDump = $ lastDumpLocal ; } return [ $ dumps , $ lastDump ] ; }
Format all dump records into single string with source PHP script file
link element and remove all useless new lines in PHP dumps.
@return array An array with formatted dumps string and boolean about last dump before script exit.
Format all dump records into single string with source PHP script file link element and remove all useless new lines in PHP dumps .