Ignore:
Timestamp:
2011/03/04 23:24:33 (13 years ago)
Author:
shutta
Message:

SC_Queryクラスのclass_extends対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php

    r20503 r20507  
    4040     */ 
    4141    function sfEditCustomerData($array, $customer_id = null) { 
    42         $objQuery =& SC_Query::getSingletonInstance(); 
     42        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    4343        $objQuery->begin(); 
    4444 
     
    9797     */ 
    9898    function sfGetCustomerPoint($order_id, $use_point, $add_point) { 
    99         $objQuery =& SC_Query::getSingletonInstance(); 
     99        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    100100        $arrRet = $objQuery->select("customer_id", "dtb_order", "order_id = ?", array($order_id)); 
    101101        $customer_id = $arrRet[0]['customer_id']; 
     
    126126 
    127127        $objCustomer    = new SC_Customer_Ex(); 
    128         $objQuery       =& SC_Query::getSingletonInstance(); 
     128        $objQuery       =& SC_Query_Ex::getSingletonInstance(); 
    129129 
    130130        $arrRet         = $objQuery->select("email, update_date, del_flg", 
     
    169169     */ 
    170170    function sfCustomerEmailDuplicationCheck($customer_id, $email) { 
    171         $objQuery   =& SC_Query::getSingletonInstance(); 
     171        $objQuery   =& SC_Query_Ex::getSingletonInstance(); 
    172172        $arrResults = $objQuery->getRow("email, email_mobile", 
    173173                                        "dtb_customer", "customer_id = ?", 
     
    190190     */ 
    191191    function sfGetCustomerData($customer_id, $mask_flg = true) { 
    192         $objQuery       =& SC_Query::getSingletonInstance(); 
     192        $objQuery       =& SC_Query_Ex::getSingletonInstance(); 
    193193 
    194194        // 顧客情報DB取得 
     
    226226     */ 
    227227    function sfGetCustomerDataFromId($customer_id, $add_where = '', $arrAddVal = array()) { 
    228         $objQuery   =& SC_Query::getSingletonInstance(); 
     228        $objQuery   =& SC_Query_Ex::getSingletonInstance(); 
    229229        if($where == '') { 
    230230            $where = 'customer_id = ?'; 
     
    249249     */ 
    250250    function sfGetUniqSecretKey() { 
    251         $objQuery   =& SC_Query::getSingletonInstance(); 
     251        $objQuery   =& SC_Query_Ex::getSingletonInstance(); 
    252252        $count      = 1; 
    253253        while ($count != 0) { 
     
    268268     */ 
    269269    function sfGetCustomerId($uniqid, $check_status = false) { 
    270         $objQuery   =& SC_Query::getSingletonInstance(); 
     270        $objQuery   =& SC_Query_Ex::getSingletonInstance(); 
    271271        $where      = "secret_key = ?"; 
    272272 
     
    585585     */ 
    586586    function sfGetSearchData($arrParam) { 
    587         $objQuery =& SC_Query::getSingletonInstance(); 
     587        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    588588        $objSelect = new SC_CustomerList_Ex($arrParam, "customer"); 
    589589        $page_max = SC_Utils_Ex::sfGetSearchPageMax($arrParam['search_page_max']); 
Note: See TracChangeset for help on using the changeset viewer.