src/ShopBundle/objects/db/TShopOrder.class.php
protected function AddOrderNotificationDataForOrderFailure($aData, $oMail, $sSendToMail)
    {
        $aAdditionalMailData = array('iAttemptsToSend' => 1, 'sSendToMail' => $sSendToMail);
        $oMail->AddDataArray($aAdditionalMailData);
        if (!is_array($aData)) {
            $aData = array();
        }
        $aData['object_mail'] = base64_encode(serialize($oMail));

        return $aData;
    }
protected function AddOrderNotificationDataForOrderFailure($aData, $oMail, $sSendToMail)
    {
        $aAdditionalMailData = array('iAttemptsToSend' => 1, 'sSendToMail' => $sSendToMail);
        $oMail->AddDataArray($aAdditionalMailData);
        if (!is_array($aData)) {
            $aData = array();
        }
        $aData['object_mail'] = base64_encode(serialize($oMail));

        return $aData;
    }
protected function AddOrderNotificationDataForOrderFailure ( $ aData , $ oMail , $ sSendToMail ) { $ aAdditionalMailData = array ( 'iAttemptsToSend' => 1 , 'sSendToMail' => $ sSendToMail ) ; $ oMail -> AddDataArray ( $ aAdditionalMailData ) ; if ( ! is_array ( $ aData ) ) { $ aData = array ( ) ; } $ aData [ 'object_mail' ] = base64_encode ( serialize ( $ oMail ) ) ; return $ aData ; }
Add additional data for the order if notification email was send incorrectly
to given array. Add info to the email profile that the notification email was
not send correctly. And add the incorrectly sent email profile to the given array.

@param array              $aData
@param TdbDataMailProfile $oMail
@param string             $sSendToMail - target email

@return array
Add additional data for the order if notification email was send incorrectly to given array . Add info to the email profile that the notification email was not send correctly . And add the incorrectly sent email profile to the given array .