- Timestamp:
- 2011/03/04 23:24:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php
r20503 r20507 40 40 */ 41 41 function sfEditCustomerData($array, $customer_id = null) { 42 $objQuery =& SC_Query ::getSingletonInstance();42 $objQuery =& SC_Query_Ex::getSingletonInstance(); 43 43 $objQuery->begin(); 44 44 … … 97 97 */ 98 98 function sfGetCustomerPoint($order_id, $use_point, $add_point) { 99 $objQuery =& SC_Query ::getSingletonInstance();99 $objQuery =& SC_Query_Ex::getSingletonInstance(); 100 100 $arrRet = $objQuery->select("customer_id", "dtb_order", "order_id = ?", array($order_id)); 101 101 $customer_id = $arrRet[0]['customer_id']; … … 126 126 127 127 $objCustomer = new SC_Customer_Ex(); 128 $objQuery =& SC_Query ::getSingletonInstance();128 $objQuery =& SC_Query_Ex::getSingletonInstance(); 129 129 130 130 $arrRet = $objQuery->select("email, update_date, del_flg", … … 169 169 */ 170 170 function sfCustomerEmailDuplicationCheck($customer_id, $email) { 171 $objQuery =& SC_Query ::getSingletonInstance();171 $objQuery =& SC_Query_Ex::getSingletonInstance(); 172 172 $arrResults = $objQuery->getRow("email, email_mobile", 173 173 "dtb_customer", "customer_id = ?", … … 190 190 */ 191 191 function sfGetCustomerData($customer_id, $mask_flg = true) { 192 $objQuery =& SC_Query ::getSingletonInstance();192 $objQuery =& SC_Query_Ex::getSingletonInstance(); 193 193 194 194 // 顧客情報DB取得 … … 226 226 */ 227 227 function sfGetCustomerDataFromId($customer_id, $add_where = '', $arrAddVal = array()) { 228 $objQuery =& SC_Query ::getSingletonInstance();228 $objQuery =& SC_Query_Ex::getSingletonInstance(); 229 229 if($where == '') { 230 230 $where = 'customer_id = ?'; … … 249 249 */ 250 250 function sfGetUniqSecretKey() { 251 $objQuery =& SC_Query ::getSingletonInstance();251 $objQuery =& SC_Query_Ex::getSingletonInstance(); 252 252 $count = 1; 253 253 while ($count != 0) { … … 268 268 */ 269 269 function sfGetCustomerId($uniqid, $check_status = false) { 270 $objQuery =& SC_Query ::getSingletonInstance();270 $objQuery =& SC_Query_Ex::getSingletonInstance(); 271 271 $where = "secret_key = ?"; 272 272 … … 585 585 */ 586 586 function sfGetSearchData($arrParam) { 587 $objQuery =& SC_Query ::getSingletonInstance();587 $objQuery =& SC_Query_Ex::getSingletonInstance(); 588 588 $objSelect = new SC_CustomerList_Ex($arrParam, "customer"); 589 589 $page_max = SC_Utils_Ex::sfGetSearchPageMax($arrParam['search_page_max']);
Note: See TracChangeset
for help on using the changeset viewer.