src/ShopBundle/objects/CronJobs/TCMSCronJob_ShopSendBasketLogStatisics.class.php
protected function GetCancelBasketInformation($oOrderBasket)
    {
        $sCancelBasketInformation = '';
        $sCancelBasketInformation .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.text_general_info')."\r\n";
        $sCancelBasketInformation .= "------------------------------------\r\n";
        $oCancelStep = TdbShopOrderStep::GetStep($oOrderBasket->fieldUpdateStepname);
        $sCancelBasketInformation .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.text_general_aborted', array('%step%' => $oCancelStep->fieldName))."\r\n";
        if (array_key_exists($oCancelStep->fieldName, $this->aCancelStep)) {
            ++$this->aCancelStep[$oCancelStep->fieldName];
        } else {
            $this->aCancelStep[$oCancelStep->fieldName] = 1;
        }

        return $sCancelBasketInformation;
    }
protected function GetCancelBasketInformation($oOrderBasket)
    {
        $sCancelBasketInformation = '';
        $sCancelBasketInformation .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.text_general_info')."\r\n";
        $sCancelBasketInformation .= "------------------------------------\r\n";
        $oCancelStep = TdbShopOrderStep::GetStep($oOrderBasket->fieldUpdateStepname);
        $sCancelBasketInformation .= TGlobal::Translate('chameleon_system_shop.cron_send_basket_stats.text_general_aborted', array('%step%' => $oCancelStep->fieldName))."\r\n";
        if (array_key_exists($oCancelStep->fieldName, $this->aCancelStep)) {
            ++$this->aCancelStep[$oCancelStep->fieldName];
        } else {
            $this->aCancelStep[$oCancelStep->fieldName] = 1;
        }

        return $sCancelBasketInformation;
    }
protected function GetCancelBasketInformation ( $ oOrderBasket ) { $ sCancelBasketInformation = '' ; $ sCancelBasketInformation .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.text_general_info' ) . "\r\n" ; $ sCancelBasketInformation .= "------------------------------------\r\n" ; $ oCancelStep = TdbShopOrderStep :: GetStep ( $ oOrderBasket -> fieldUpdateStepname ) ; $ sCancelBasketInformation .= TGlobal :: Translate ( 'chameleon_system_shop.cron_send_basket_stats.text_general_aborted' , array ( '%step%' => $ oCancelStep -> fieldName ) ) . "\r\n" ; if ( array_key_exists ( $ oCancelStep -> fieldName , $ this -> aCancelStep ) ) { ++ $ this -> aCancelStep [ $ oCancelStep -> fieldName ] ; } else { $ this -> aCancelStep [ $ oCancelStep -> fieldName ] = 1 ; } return $ sCancelBasketInformation ; }
Get statistics on which basket step the user canceled.

@param TdbShopOrderBasket $oOrderBasket

@return string
Get statistics on which basket step the user canceled .