src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerOgoneDirectLinkWithAliasGateway.class.php
protected function ParseXMLResponse($sResult)
    {
        $oXMLResponse = new SimpleXMLElement($sResult);
        foreach ($oXMLResponse->attributes() as $sAttributeName => $sAttributeValue) {
            $sAttributeName = strtoupper($sAttributeName);
            $this->aXMLResponseData[$sAttributeName] = (string) $sAttributeValue;
        }
        if (isset($oXMLResponse->HTML_ANSWER)) {
            $this->aXMLResponseData['HTML_ANSWER'] = (string) $oXMLResponse->HTML_ANSWER;
        }
    }
protected function ParseXMLResponse($sResult)
    {
        $oXMLResponse = new SimpleXMLElement($sResult);
        foreach ($oXMLResponse->attributes() as $sAttributeName => $sAttributeValue) {
            $sAttributeName = strtoupper($sAttributeName);
            $this->aXMLResponseData[$sAttributeName] = (string) $sAttributeValue;
        }
        if (isset($oXMLResponse->HTML_ANSWER)) {
            $this->aXMLResponseData['HTML_ANSWER'] = (string) $oXMLResponse->HTML_ANSWER;
        }
    }
protected function ParseXMLResponse ( $ sResult ) { $ oXMLResponse = new SimpleXMLElement ( $ sResult ) ; foreach ( $ oXMLResponse -> attributes ( ) as $ sAttributeName => $ sAttributeValue ) { $ sAttributeName = strtoupper ( $ sAttributeName ) ; $ this -> aXMLResponseData [ $ sAttributeName ] = ( string ) $ sAttributeValue ; } if ( isset ( $ oXMLResponse -> HTML_ANSWER ) ) { $ this -> aXMLResponseData [ 'HTML_ANSWER' ] = ( string ) $ oXMLResponse -> HTML_ANSWER ; } }
parse the xml response from the DirectLink API.

@param string $sResult - xml response as string
parse the xml response from the DirectLink API .