public static function parseBacktrace()
	{
		$file = '-';
		$line = 0;

		// Loop through the backtrace items
		foreach (self::getBacktrace() as $item)
		{
			// Looking for the last instance of one of the following classes...
			// this will be our indicator of the command that originated this query
			if (isset($item['class'])
			 && ($item['class'] == 'Hubzero\Database\Relational'
			 ||  $item['class'] == 'Hubzero\Database\Relationship\Relationship'
			 ||  $item['class'] == 'Hubzero\Database\Rows'))
			{

				$file = (isset($item['file'])) ? str_replace(PATH_CORE, '', $item['file']) : $file;
				$line = (isset($item['line'])) ? $item['line'] : $line;
			}
		}

		return array($file, $line);
	}
public static function parseBacktrace()
	{
		$file = '-';
		$line = 0;

		// Loop through the backtrace items
		foreach (self::getBacktrace() as $item)
		{
			// Looking for the last instance of one of the following classes...
			// this will be our indicator of the command that originated this query
			if (isset($item['class'])
			 && ($item['class'] == 'Hubzero\Database\Relational'
			 ||  $item['class'] == 'Hubzero\Database\Relationship\Relationship'
			 ||  $item['class'] == 'Hubzero\Database\Rows'))
			{

				$file = (isset($item['file'])) ? str_replace(PATH_CORE, '', $item['file']) : $file;
				$line = (isset($item['line'])) ? $item['line'] : $line;
			}
		}

		return array($file, $line);
	}
public static function parseBacktrace ( ) { $ file = '-' ; $ line = 0 ; // Loop through the backtrace items foreach ( self :: getBacktrace ( ) as $ item ) { // Looking for the last instance of one of the following classes... // this will be our indicator of the command that originated this query if ( isset ( $ item [ 'class' ] ) && ( $ item [ 'class' ] == 'Hubzero\Database\Relational' || $ item [ 'class' ] == 'Hubzero\Database\Relationship\Relationship' || $ item [ 'class' ] == 'Hubzero\Database\Rows' ) ) { $ file = ( isset ( $ item [ 'file' ] ) ) ? str_replace ( PATH_CORE , '' , $ item [ 'file' ] ) : $ file ; $ line = ( isset ( $ item [ 'line' ] ) ) ? $ item [ 'line' ] : $ line ; } } return array ( $ file , $ line ) ; }
Parses the debug backtrace for the applicable file and line

@return  array
@since   2.0.0
Parses the debug backtrace for the applicable file and line