src/ShopBundle/objects/CronJobs/TCMSCronJob_ShopSendBasketLogStatisics.class.php
protected function GetUserStatistics($oUser)
    {
        $sUserStatistics = '';
        $sUserStatistics .= "------------------------------------\r\n\r\n";
        $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.text_user')."\r\n";
        $sUserStatistics .= "------------------------------------\r\n";
        if (count($oUser->sqlData) > 0) {
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_name').': '.$oUser->fieldFirstname.' '.$oUser->fieldLastname." \r\n";
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_email').': '.$oUser->fieldName." \r\n";
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_street').': '.$oUser->fieldStreet.' '.$oUser->fieldStreetnr." \r\n";
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_zip').': '.$oUser->fieldPostalcode.' '.$oUser->fieldCity." \r\n";
            $oCountry = TdbDataCountry::GetNewInstance();
            if ($oCountry->Load($oUser->fieldDataCountryId)) {
                $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_country').': '.$oCountry->GetName()." \r\n";
            }
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_telefon').': '.$oUser->fieldTelefon." \r\n";
        } else {
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.guest_user')."\r\n";
        }

        return $sUserStatistics;
    }
protected function GetUserStatistics($oUser)
    {
        $sUserStatistics = '';
        $sUserStatistics .= "------------------------------------\r\n\r\n";
        $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.text_user')."\r\n";
        $sUserStatistics .= "------------------------------------\r\n";
        if (count($oUser->sqlData) > 0) {
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_name').': '.$oUser->fieldFirstname.' '.$oUser->fieldLastname." \r\n";
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_email').': '.$oUser->fieldName." \r\n";
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_street').': '.$oUser->fieldStreet.' '.$oUser->fieldStreetnr." \r\n";
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_zip').': '.$oUser->fieldPostalcode.' '.$oUser->fieldCity." \r\n";
            $oCountry = TdbDataCountry::GetNewInstance();
            if ($oCountry->Load($oUser->fieldDataCountryId)) {
                $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_country').': '.$oCountry->GetName()." \r\n";
            }
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.user_telefon').': '.$oUser->fieldTelefon." \r\n";
        } else {
            $sUserStatistics .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.guest_user')."\r\n";
        }

        return $sUserStatistics;
    }
protected function GetUserStatistics ( $ oUser ) { $ sUserStatistics = '' ; $ sUserStatistics .= "------------------------------------\r\n\r\n" ; $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.text_user' ) . "\r\n" ; $ sUserStatistics .= "------------------------------------\r\n" ; if ( count ( $ oUser -> sqlData ) > 0 ) { $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.user_name' ) . ': ' . $ oUser -> fieldFirstname . ' ' . $ oUser -> fieldLastname . " \r\n" ; $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.user_email' ) . ': ' . $ oUser -> fieldName . " \r\n" ; $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.user_street' ) . ': ' . $ oUser -> fieldStreet . ' ' . $ oUser -> fieldStreetnr . " \r\n" ; $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.user_zip' ) . ': ' . $ oUser -> fieldPostalcode . ' ' . $ oUser -> fieldCity . " \r\n" ; $ oCountry = TdbDataCountry :: GetNewInstance ( ) ; if ( $ oCountry -> Load ( $ oUser -> fieldDataCountryId ) ) { $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.user_country' ) . ': ' . $ oCountry -> GetName ( ) . " \r\n" ; } $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.user_telefon' ) . ': ' . $ oUser -> fieldTelefon . " \r\n" ; } else { $ sUserStatistics .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.guest_user' ) . "\r\n" ; } return $ sUserStatistics ; }
Get user statistics for canceled basket step.

@param TdbDataExtranetUser $oUser

@return string
Get user statistics for canceled basket step .