Changeset 19162


Ignore:
Timestamp:
2010/11/06 23:21:22 (13 years ago)
Author:
Yammy
Message:

新process()対応

File:
1 edited

Legend:

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

    r18859 r19162  
    6969     */ 
    7070    function process() { 
    71  
     71        $this->action(); 
     72        $this->sendResponse(); 
     73    } 
     74 
     75    /** 
     76     * Page のアクション. 
     77     * 
     78     * @return void 
     79     */ 
     80    function action() { 
    7281        $objView = new SC_SiteView(false); 
    7382        $objCartSess = new SC_CartSession(); 
    7483        $objSiteSess = new SC_SiteSession(); 
    75         $objCampaignSess = new SC_CampaignSession(); 
    7684        $objSiteInfo = $objView->objSiteInfo; 
    7785        $objCustomer = new SC_Customer(); 
     
    158166        // 前頁のURLを取得 
    159167        $this->tpl_prev_url = $objCartSess->getPrevURL(); 
    160  
    161         $objView->assignobj($this); 
    162         // フレームを選択(キャンペーンページから遷移なら変更) 
    163         $objCampaignSess->pageView($objView); 
    164168    } 
    165169 
     
    179183     */ 
    180184    function mobileProcess() { 
    181  
     185        $this->mobileAction(); 
     186        $this->sendResponse(); 
     187    } 
     188 
     189    /** 
     190     * Page のアクション(モバイル). 
     191     * 
     192     * @return void 
     193     */ 
     194    function mobileAction() { 
    182195        // 買い物を続ける場合 
    183196        if ($_REQUEST['mode'] == 'continue') { 
     
    281294        // 前頁のURLを取得 
    282295        $this->tpl_prev_url = $objCartSess->getPrevURL(); 
    283  
    284         $objView->assignobj($this); 
    285         $objView->display(SITE_FRAME); 
    286296    } 
    287297 
Note: See TracChangeset for help on using the changeset viewer.