Ignore:
Timestamp:
2012/02/06 11:05:15 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/cart/LC_Page_Cart.php

    r21420 r21441  
    8585        foreach ($this->cartKeys as $key) { 
    8686            // 商品購入中にカート内容が変更された。 
    87             if($objCartSess->getCancelPurchase($key)) { 
     87            if ($objCartSess->getCancelPurchase($key)) { 
    8888                $this->tpl_message = "商品購入中にカート内容が変更されましたので、お手数ですが購入手続きをやり直して下さい。"; 
    8989            } 
     
    9393        $cartKey = $objFormParam->getValue('cartKey'); 
    9494 
    95         switch($this->mode) { 
     95        switch ($this->mode) { 
    9696        case 'confirm': 
    9797            // カート内情報の取得 
    9898            $cartList = $objCartSess->getCartList($cartKey); 
    9999            // カート商品が1件以上存在する場合 
    100             if(count($cartList) > 0) { 
     100            if (count($cartList) > 0) { 
    101101                // カートを購入モードに設定 
    102102                $this->lfSetCurrentCart($objSiteSess, $objCartSess, $cartKey); 
     
    159159 
    160160        // ログイン判定 
    161         if($objCustomer->isLoginSuccess(true)) { 
     161        if ($objCustomer->isLoginSuccess(true)) { 
    162162            $this->tpl_login = true; 
    163163            $this->tpl_user_point = $objCustomer->getValue('point'); 
     
    213213        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    214214        $res = $objQuery->update("dtb_order_temp", $sqlval, $where, array($pre_uniqid)); 
    215         if($res != 1){ 
     215        if ($res != 1) { 
    216216            return false; 
    217217        } 
     
    256256        $uniqid = $objSiteSess->getUniqId(); 
    257257        // エラーリトライなどで既にuniqidが存在する場合は、設定を引き継ぐ 
    258         if($pre_uniqid != "") { 
     258        if ($pre_uniqid != "") { 
    259259            $this->lfUpdateOrderTempid($pre_uniqid,$uniqid); 
    260260        } 
Note: See TracChangeset for help on using the changeset viewer.