Ignore:
Timestamp:
2012/02/15 19:56:17 (12 years ago)
Author:
Seasoft
Message:

#1625 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

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

    r21481 r21514  
    4646        $masterData = new SC_DB_MasterData(); 
    4747        $this->arrPref = $masterData->getMasterData('mtb_pref'); 
    48         $this->tpl_title = "お届け先の指定"; 
     48        $this->tpl_title = 'お届け先の指定'; 
    4949        $this->httpCacheControl('nocache'); 
    5050    } 
     
    9999        $arrErr = $objFormParam->checkError(); 
    100100        if (!SC_Utils_Ex::isBlank($arrErr)) { 
    101             SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true); 
     101            SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 
    102102            exit; 
    103103        } 
     
    122122 
    123123            } else { 
    124                 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true); 
     124                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 
    125125            } 
    126126            break; 
     
    167167     */ 
    168168    function lfInitParam(&$objFormParam) { 
    169         $objFormParam->addParam("その他のお届け先ID", 'other_deliv_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
    170         $objFormParam->addParam("お届け先チェック", 'deliv_check', INT_LEN, 'n', array('MAX_LENGTH_CHECK')); 
     169        $objFormParam->addParam('その他のお届け先ID', 'other_deliv_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
     170        $objFormParam->addParam('お届け先チェック', 'deliv_check', INT_LEN, 'n', array('MAX_LENGTH_CHECK')); 
    171171    } 
    172172 
     
    179179    function doDelete($other_deliv_id) { 
    180180        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    181         $where = "other_deliv_id = ?"; 
     181        $where = 'other_deliv_id = ?'; 
    182182        $objQuery->delete('dtb_other_deliv', $where, array($other_deliv_id)); 
    183183    } 
     
    197197     */ 
    198198    function registerDeliv($deliv_check, $uniqid, &$objPurchase, &$objCustomer) { 
    199         $this->log("register deliv. deliv_check=" . $deliv_check, 'Debug'); 
     199        $this->log('register deliv. deliv_check=' . $deliv_check, 'Debug'); 
    200200        $arrValues = array(); 
    201201        // 会員登録住所がチェックされている場合 
     
    209209        elseif ($deliv_check >= 1) { 
    210210            $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    211             $arrOtherDeliv = $objQuery->getRow("*", 'dtb_other_deliv', 
    212                                                "customer_id = ? AND other_deliv_id = ?", 
     211            $arrOtherDeliv = $objQuery->getRow('*', 'dtb_other_deliv', 
     212                                               'customer_id = ? AND other_deliv_id = ?', 
    213213                                               array($objCustomer->getValue('customer_id'), $deliv_check)); 
    214214            if (SC_Utils_Ex::isBlank($arrOtherDeliv)) { 
Note: See TracChangeset for help on using the changeset viewer.