- Timestamp:
- 2012/02/15 19:56:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Deliv.php
r21481 r21514 46 46 $masterData = new SC_DB_MasterData(); 47 47 $this->arrPref = $masterData->getMasterData('mtb_pref'); 48 $this->tpl_title = "お届け先の指定";48 $this->tpl_title = 'お届け先の指定'; 49 49 $this->httpCacheControl('nocache'); 50 50 } … … 99 99 $arrErr = $objFormParam->checkError(); 100 100 if (!SC_Utils_Ex::isBlank($arrErr)) { 101 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);101 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 102 102 exit; 103 103 } … … 122 122 123 123 } else { 124 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);124 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 125 125 } 126 126 break; … … 167 167 */ 168 168 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')); 171 171 } 172 172 … … 179 179 function doDelete($other_deliv_id) { 180 180 $objQuery =& SC_Query_Ex::getSingletonInstance(); 181 $where = "other_deliv_id = ?";181 $where = 'other_deliv_id = ?'; 182 182 $objQuery->delete('dtb_other_deliv', $where, array($other_deliv_id)); 183 183 } … … 197 197 */ 198 198 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'); 200 200 $arrValues = array(); 201 201 // 会員登録住所がチェックされている場合 … … 209 209 elseif ($deliv_check >= 1) { 210 210 $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 = ?', 213 213 array($objCustomer->getValue('customer_id'), $deliv_check)); 214 214 if (SC_Utils_Ex::isBlank($arrOtherDeliv)) {
Note: See TracChangeset
for help on using the changeset viewer.