protected function _extractStatusMessage($xml)
	{
		if (false !== ($start = strpos($xml, ' statusMessage="')) and
			false !== ($end = strpos($xml, '"', $start + 16)))
		{
			return substr($xml, $start + 16, $end - $start - 16);
		}

		return '';
	}
protected function _extractStatusMessage($xml)
	{
		if (false !== ($start = strpos($xml, ' statusMessage="')) and
			false !== ($end = strpos($xml, '"', $start + 16)))
		{
			return substr($xml, $start + 16, $end - $start - 16);
		}

		return '';
	}
protected function _extractStatusMessage ( $ xml ) { if ( false !== ( $ start = strpos ( $ xml , ' statusMessage="' ) ) and false !== ( $ end = strpos ( $ xml , '"' , $ start + 16 ) ) ) { return substr ( $ xml , $ start + 16 , $ end - $ start - 16 ) ; } return '' ; }
Extract the status message from an XML response

Each qbXML response should return a status code and a status message
indicating whether or not an error occured.

@param string $xml	The XML stream to look for a response status message in
@return string		The response status message
Extract the status message from an XML response