src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
private function quoteAttributeValue($s) {
	    $quotedString = $this->collapseWhitespace($s);
	    $quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
	    $quotedString = preg_replace('/\\;/', '\\;', $quotedString);
	    $quotedString = preg_replace('/\\)/', '\\)', $quotedString);
	
	    return $quotedString;
	}
private function quoteAttributeValue($s) {
	    $quotedString = $this->collapseWhitespace($s);
	    $quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
	    $quotedString = preg_replace('/\\;/', '\\;', $quotedString);
	    $quotedString = preg_replace('/\\)/', '\\)', $quotedString);
	
	    return $quotedString;
	}
private function quoteAttributeValue ( $ s ) { $ quotedString = $ this -> collapseWhitespace ( $ s ) ; $ quotedString = preg_replace ( '/\\\\/' , '\\\\\\\\' , $ quotedString ) ; $ quotedString = preg_replace ( '/\\;/' , '\\;' , $ quotedString ) ; $ quotedString = preg_replace ( '/\\)/' , '\\)' , $ quotedString ) ; return $ quotedString ; }
Collapse multiple whitespace characters into a single ' ' and backslash escape ';', '\',
and ')' characters from a string.

@param $s
@return unknown_type
Collapse multiple whitespace characters into a single and backslash escape ; \ and ) characters from a string .