Changeset 19348


Ignore:
Timestamp:
2010/11/07 01:41:33 (13 years ago)
Author:
Yammy
Message:

LC_Page::sendRedirect() をSC_Display::sendridirect()に移行

Location:
branches/camp/camp-2_5-E/data/class/pages/shopping
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/pages/shopping/LC_Page_Shopping.php

    r19341 r19348  
    105105                $objSiteSess->setRegistFlag(); 
    106106                //カート内が全てダウンロード商品の場合は支払方法設定画面に転送 
    107                 $this->sendRedirect($this->getLocation("./payment.php"), array()); 
     107                $this->objDisplay->redirect($this->getLocation("./payment.php"), array()); 
    108108            } else { 
    109109                // お届け先設定画面に転送 
    110                 $this->sendRedirect($this->getLocation("./deliv.php"), array()); 
     110                $this->objDisplay->redirect($this->getLocation("./deliv.php"), array()); 
    111111            } 
    112112            exit; 
     
    145145                $objSiteSess->setRegistFlag(); 
    146146                // お支払い方法選択ページへ移動 
    147                 $this->sendRedirect($this->getLocation(URL_SHOP_PAYMENT)); 
     147                $this->objDisplay->redirect($this->getLocation(URL_SHOP_PAYMENT)); 
    148148                exit; 
    149149            } 
     
    153153        case 'return': 
    154154            // 確認ページへ移動 
    155             $this->sendRedirect($this->getLocation(URL_CART_TOP)); 
     155            $this->objDisplay->redirect($this->getLocation(URL_CART_TOP)); 
    156156            exit; 
    157157            break; 
     
    256256                $objSiteSess->setRegistFlag(); 
    257257                //カート内が全てダウンロード商品の場合は支払方法設定画面に転送 
    258                 $this->sendRedirect($this->getLocation("./payment.php"), array()); 
     258                $this->objDisplay->redirect($this->getLocation("./payment.php"), array()); 
    259259            } else { 
    260260                // お届け先設定画面に転送 
    261                 $this->sendRedirect($this->getLocation("./deliv.php"), array()); 
     261                $this->objDisplay->redirect($this->getLocation("./deliv.php"), array()); 
    262262            } 
    263263            exit; 
  • branches/camp/camp-2_5-E/data/class/pages/shopping/LC_Page_Shopping_Confirm.php

    r19308 r19348  
    140140            // 正常な推移であることを記録しておく 
    141141            $objSiteSess->setRegistFlag(); 
    142             $this->sendRedirect($this->getLocation(URL_SHOP_PAYMENT)); 
     142            $this->objDisplay->redirect($this->getLocation(URL_SHOP_PAYMENT)); 
    143143            exit; 
    144144            break; 
     
    162162                $objPurchase = new SC_Helper_Purchase_Ex(); 
    163163                $objPurchase->completeOrder(ORDER_PENDING); 
    164                 $this->sendRedirect($this->getLocation(URL_SHOP_MODULE)); 
     164                $this->objDisplay->redirect($this->getLocation(URL_SHOP_MODULE)); 
    165165            }else{ 
    166166                // 受注を完了し, 購入完了ページへ 
     
    168168                $objPurchase->completeOrder(ORDER_NEW); 
    169169                $objPurchase->sendOrderMail($arrData["order_id"]); 
    170                 $this->sendRedirect($this->getLocation(URL_SHOP_COMPLETE)); 
     170                $this->objDisplay->redirect($this->getLocation(URL_SHOP_COMPLETE)); 
    171171            } 
    172172            exit; 
     
    254254            // 正常な推移であることを記録しておく 
    255255            $objSiteSess->setRegistFlag(); 
    256             $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), true); 
     256            $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT)); 
    257257            exit; 
    258258            break; 
     
    272272            if($payment_type != "") { 
    273273                $_SESSION["payment_id"] = $arrData['payment_id']; 
    274                 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_MODULE), true); 
     274                $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_MODULE)); 
    275275            }else{ 
    276                 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_COMPLETE), true); 
     276                $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_COMPLETE)); 
    277277            } 
    278278            exit; 
  • branches/camp/camp-2_5-E/data/class/pages/shopping/LC_Page_Shopping_Deliv.php

    r19091 r19348  
    148148                $objSiteSess->setRegistFlag(); 
    149149                // ダウンロード商品有りの場合は、支払方法画面に転送 
    150                 $this->sendRedirect($this->getLocation("./payment.php"), array()); 
     150                $this->objDisplay->redirect($this->getLocation("./payment.php"), array()); 
    151151                exit; 
    152152            } 
     
    170170                $objSiteSess->setRegistFlag(); 
    171171                // お支払い方法選択ページへ移動 
    172                 $this->sendRedirect($this->getLocation(URL_SHOP_PAYMENT, array(), true)); 
     172                $this->objDisplay->redirect($this->getLocation(URL_SHOP_PAYMENT, array(), true)); 
    173173                exit; 
    174174            // 別のお届け先がチェックされている場合 
     
    186186                    $objSiteSess->setRegistFlag(); 
    187187                    // お支払い方法選択ページへ移動 
    188                     $this->sendRedirect($this->getLocation(URL_SHOP_PAYMENT, array(), true)); 
     188                    $this->objDisplay->redirect($this->getLocation(URL_SHOP_PAYMENT, array(), true)); 
    189189                    exit; 
    190190                } 
     
    197197        case 'return': 
    198198            // 確認ページへ移動 
    199             $this->sendRedirect($this->getLocation(URL_CART_TOP, array(), true)); 
     199            $this->objDisplay->redirect($this->getLocation(URL_CART_TOP, array(), true)); 
    200200            exit; 
    201201            break; 
     
    329329                    $objSiteSess->setRegistFlag(); 
    330330                    // ダウンロード商品有りの場合は、支払方法画面に転送 
    331                     $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), array()); 
     331                    $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), array()); 
    332332                    exit; 
    333333                } 
    334334            } else { 
    335335                // ログインページに戻る 
    336                 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_TOP), true); 
     336                $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_TOP)); 
    337337                exit; 
    338338            } 
     
    348348            if (!$objMobile->gfIsMobileMailAddress($objCustomer->getValue('email'))) { 
    349349                if (!$objCustomer->hasValue('email_mobile')) { 
    350                     $this->sendRedirect($this->getLocation("../entry/email_mobile.php"), true); 
     350                    $this->objDisplay->redirect($this->getLocation("../entry/email_mobile.php")); 
    351351                    exit; 
    352352                } 
     
    371371                $objSiteSess->setRegistFlag(); 
    372372                // お支払い方法選択ページへ移動 
    373                 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), true); 
     373                $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT)); 
    374374                exit; 
    375375            }else{ 
     
    394394                    $objSiteSess->setRegistFlag(); 
    395395                    // お支払い方法選択ページへ移動 
    396                     $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), true); 
     396                    $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT)); 
    397397                    exit; 
    398398                } 
     
    406406        case 'return': 
    407407            // 確認ページへ移動 
    408             $this->sendRedirect($this->getLocation(MOBILE_URL_CART_TOP), true); 
     408            $this->objDisplay->redirect($this->getLocation(MOBILE_URL_CART_TOP)); 
    409409            exit; 
    410410            break; 
  • branches/camp/camp-2_5-E/data/class/pages/shopping/LC_Page_Shopping_DelivAddr.php

    r19091 r19348  
    140140                break; 
    141141            default: 
    142                 $this->sendRedirect($this->getLocation("./deliv.php"), true); 
     142                $this->objDisplay->redirect($this->getLocation("./deliv.php")); 
    143143                exit; 
    144144            } 
     
    194194                $objSiteSess->setRegistFlag(); 
    195195                // お支払い方法選択ページへ移動 
    196                 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), true); 
     196                $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT)); 
    197197                exit; 
    198198            } else { 
  • branches/camp/camp-2_5-E/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r19252 r19348  
    115115        //不正遷移チェック(正常に受注情報が格納されていない場合は一旦カート画面まで戻す) 
    116116        if (!$arrOrderTemp) { 
    117             $this->sendRedirect($this->getLocation(URL_CART_TOP)); 
     117            $this->objDisplay->redirect($this->getLocation(URL_CART_TOP)); 
    118118            exit; 
    119119        } 
     
    144144                $objSiteSess->setRegistFlag(); 
    145145                // 確認ページへ移動 
    146                 $this->sendRedirect($this->getLocation(URL_SHOP_CONFIRM, array(), true)); 
     146                $this->objDisplay->redirect($this->getLocation(URL_SHOP_CONFIRM, array(), true)); 
    147147                exit; 
    148148            }else{ 
     
    158158            // 正常な推移であることを記録しておく 
    159159            $objSiteSess->setRegistFlag(); 
    160             $this->sendRedirect(URL_SHOP_TOP); 
     160            $this->objDisplay->redirect(URL_SHOP_TOP); 
    161161            exit; 
    162162            break; 
     
    240240        //不正遷移チェック(正常に受注情報が格納されていない場合は一旦カート画面まで戻す) 
    241241        if (!$arrOrderTemp) { 
    242             $this->sendRedirect($this->getLocation(MOBILE_URL_CART_TOP)); 
     242            $this->objDisplay->redirect($this->getLocation(MOBILE_URL_CART_TOP)); 
    243243            exit; 
    244244        } 
     
    265265                if ($this->cartdown == 2) { 
    266266                    // ダウンロード商品のみの場合はカート画面へ戻る 
    267                     $this->sendRedirect($this->getLocation(MOBILE_URL_CART_TOP), true); 
     267                    $this->objDisplay->redirect($this->getLocation(MOBILE_URL_CART_TOP)); 
    268268                } else { 
    269                     $this->sendRedirect(MOBILE_URL_SHOP_TOP, true); 
     269                    $this->objDisplay->redirect(MOBILE_URL_SHOP_TOP); 
    270270                } 
    271271                exit; 
     
    307307                $objSiteSess->setRegistFlag(); 
    308308                // 確認ページへ移動 
    309                 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_CONFIRM), true); 
     309                $this->objDisplay->redirect($this->getLocation(MOBILE_URL_SHOP_CONFIRM)); 
    310310                exit; 
    311311            }else{ 
     
    326326            // 正常な推移であることを記録しておく 
    327327            $objSiteSess->setRegistFlag(); 
    328             $this->sendRedirect(MOBILE_URL_SHOP_TOP, true); 
     328            $this->objDisplay->redirect(MOBILE_URL_SHOP_TOP); 
    329329            exit; 
    330330            break; 
Note: See TracChangeset for help on using the changeset viewer.