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

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

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
Location:
branches/version-2_12-dev/data/class/pages/shopping
Files:
4 edited

Legend:

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

    r21437 r21441  
    126126 
    127127                // モバイルサイトで携帯アドレスの登録が無い場合、携帯アドレス登録ページへ遷移 
    128                 if(SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 
    129                     if($this->hasEmailMobile($objCustomer) == false) { 
     128                if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 
     129                    if ($this->hasEmailMobile($objCustomer) == false) { 
    130130                        SC_Response_Ex::sendRedirectFromUrlPath('entry/email_mobile.php'); 
    131131                        exit; 
     
    150150            else { 
    151151                // 仮登録の場合 
    152                 if($this->checkTempCustomer($objFormParam->getValue('login_email'))) { 
     152                if ($this->checkTempCustomer($objFormParam->getValue('login_email'))) { 
    153153                    if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_SMARTPHONE) { 
    154154                        echo $this->lfGetErrorMessage(TEMP_LOGIN_ERROR); 
     
    510510        case DEVICE_TYPE_PC: 
    511511        default: 
    512             if(!$objCustomer->getCustomerDataFromEmailPass($login_pass, $login_email)) { 
     512            if (!$objCustomer->getCustomerDataFromEmailPass($login_pass, $login_email)) { 
    513513                return false; 
    514514            } else { 
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php

    r21420 r21441  
    121121 
    122122        // 会員ログインチェック 
    123         if($objCustomer->isLoginSuccess(true)) { 
     123        if ($objCustomer->isLoginSuccess(true)) { 
    124124            $this->tpl_login = '1'; 
    125125            $this->tpl_user_point = $objCustomer->getValue('point'); 
     
    129129        $this->use_module = $this->useModule($this->arrForm['payment_id']); 
    130130 
    131         switch($this->getMode()) { 
     131        switch ($this->getMode()) { 
    132132        // 前のページに戻る 
    133133        case 'return': 
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Deliv.php

    r21437 r21441  
    105105        $arrForm = $objFormParam->getHashArray(); 
    106106 
    107         switch($this->getMode()) { 
     107        switch ($this->getMode()) { 
    108108        // 削除 
    109109        case 'delete': 
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r21420 r21441  
    129129        $this->arrDelivDate = $objPurchase->getDelivDate($objCartSess, $cart_key); 
    130130 
    131         switch($this->getMode()) { 
     131        switch ($this->getMode()) { 
    132132        /* 
    133133         * 配送業者選択時のアクション 
     
    292292        } 
    293293 
    294         if($arrForm['point_check'] == '1') { 
     294        if ($arrForm['point_check'] == '1') { 
    295295            $objErr->doFunc(array("ポイントを使用する", "point_check"), array("EXIST_CHECK")); 
    296296            $objErr->doFunc(array("ポイント", "use_point"), array("EXIST_CHECK")); 
    297             if($max_point == "") { 
     297            if ($max_point == "") { 
    298298                $max_point = 0; 
    299299            } 
    300300            // FIXME mobile 互換のため br は閉じない... 
    301             if($arrForm['use_point'] > $max_point) { 
     301            if ($arrForm['use_point'] > $max_point) { 
    302302                $objErr->arrErr['use_point'] = "※ ご利用ポイントが所持ポイントを超えています。<br>"; 
    303303            } 
    304             if(($arrForm['use_point'] * POINT_VALUE) > $subtotal) { 
     304            if (($arrForm['use_point'] * POINT_VALUE) > $subtotal) { 
    305305                $objErr->arrErr['use_point'] = "※ ご利用ポイントがご購入金額を超えています。<br>"; 
    306306            } 
     
    346346        $arrForm['update_date'] = 'CURRENT_TIMESTAMP'; 
    347347 
    348         if($arrForm['point_check'] != '1') { 
     348        if ($arrForm['point_check'] != '1') { 
    349349            $arrForm['use_point'] = 0; 
    350350        } 
     
    444444     */ 
    445445    function getMobileMainpage($is_single_deliv = true, $mode) { 
    446         switch($mode) { 
     446        switch ($mode) { 
    447447        case 'select_deliv': 
    448448            return 'shopping/payment.tpl'; 
Note: See TracChangeset for help on using the changeset viewer.