Changeset 16378


Ignore:
Timestamp:
2007/10/11 15:44:30 (17 years ago)
Author:
nanasess
Message:

process() をモバイル用の関数に変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/mypage/LC_Page_Mypage_Order.php

    r16238 r16378  
    3636     */ 
    3737    function process() { 
     38    } 
     39 
     40    /** 
     41     * モバイルページを初期化する. 
     42     * 
     43     * @return void 
     44     */ 
     45    function mobileInit() { 
     46        $this->init(); 
     47    } 
     48 
     49    /** 
     50     * Page のプロセス(モバイル). 
     51     * 
     52     * @return void 
     53     */ 
     54    function mobileProcess() { 
    3855        $objCustomer = new SC_Customer(); 
    3956        $objCartSess = new SC_CartSession(); 
     
    4360 
    4461        //ログインしていない、またはDBに情報が無い場合 
    45         if (!$objCustomer->isLoginSuccess() or count($arrDisp) == 0){ 
     62        if (!$objCustomer->isLoginSuccess(true) or count($arrDisp) == 0){ 
    4663            SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR, "", false, "", true); 
    4764        } 
     
    5572            $objCartSess->addProduct(array($product_id, $cate_id1, $cate_id2), $quantity); 
    5673        } 
    57         $this->sendRedirect($this->getLocation(MOBILE_URL_CART_TOP, 
    58                             array(session_name() => session_id()))); 
     74        $this->sendRedirect($this->getLocation(MOBILE_URL_CART_TOP), true); 
    5975    } 
    6076 
Note: See TracChangeset for help on using the changeset viewer.