Ignore:
Timestamp:
2010/10/14 16:46:42 (14 years ago)
Author:
Seasoft
Message:

#626(表記の統一性の向上)

  • 括弧とスペースの使い方 (途中)
  • 名前の補助表記 (途中)
File:
1 edited

Legend:

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

    r18820 r18853  
    7676        } 
    7777 
    78         // 名前(カナ) 
     78        // 名前(カナ) 
    7979        if (!isset($this->arrSql['kana'])) $this->arrSql['kana'] = ""; 
    8080        if ( strlen($this->arrSql['kana']) > 0 ) { 
     
    8484        } 
    8585 
    86         // 都道府県 
     86        // 都道府県 
    8787        if (!isset($this->arrSql['pref'])) $this->arrSql['pref'] = ""; 
    8888        if ( strlen($this->arrSql['pref']) > 0 ) { 
     
    9191        } 
    9292 
    93         // 電話番号 
     93        // 電話番号 
    9494        if (!isset($this->arrSql['tel'])) $this->arrSql['tel'] = ""; 
    9595        if ( is_numeric( $this->arrSql['tel'] ) ) { 
     
    9999        } 
    100100 
    101         //性別 
     101        // 性別 
    102102        if (!isset($this->arrSql['sex'])) $this->arrSql['sex'] = ""; 
    103103        if ( is_array( $this->arrSql['sex'] ) ){ 
     
    108108        } 
    109109 
    110         //職業 
     110        // 職業 
    111111        if (!isset($this->arrSql['job'])) $this->arrSql['job'] = ""; 
    112112        if ( is_array( $this->arrSql['job'] ) ){ 
     
    123123        } 
    124124 
    125         // E-MAIL 
     125        // E-MAIL 
    126126        if (!isset($this->arrSql['email'])) $this->arrSql['email'] = ""; 
    127127        if (strlen($this->arrSql['email']) > 0) { 
     
    151151        } 
    152152 
    153         // E-MAIL(mobile) 
     153        // E-MAIL(mobile) 
    154154        if (!isset($this->arrSql['email_mobile'])) $this->arrSql['email_mobile'] = ""; 
    155155         
     
    180180        } 
    181181 
    182         // 配信メールアドレス種別 
     182        // 配信メールアドレス種別 
    183183        if ( $mode == 'magazine' ){ 
    184184            $sqlEmailMobileIsEmpty = "(dtb_customer.email_mobile IS NULL OR dtb_customer.email_mobile = '')"; 
     
    204204        } 
    205205 
    206         // HTML-mail 
     206        // HTML-mail 
    207207        if ( $mode == 'magazine' ){ 
    208208            if (!isset($this->arrSql['htmlmail'])) $this->arrSql['htmlmail'] = ""; 
     
    299299        } 
    300300 
    301         //購入商品コード 
     301        // 購入商品コード 
    302302        if (!isset($this->arrSql['buy_product_code'])) $this->arrSql['buy_product_code'] = ""; 
    303303        if ( strlen($this->arrSql['buy_product_code']) > 0 ) { 
     
    307307        } 
    308308 
    309         //購入商品名称 
     309        // 購入商品名称 
    310310        if (!isset($this->arrSql['buy_product_name'])) $this->arrSql['buy_product_name'] = ""; 
    311311        if ( strlen($this->arrSql['buy_product_name']) > 0 ) { 
     
    315315        } 
    316316 
    317         //カテゴリーを選択している場合のみ絞込検索を行う 
     317        // カテゴリーを選択している場合のみ絞込検索を行う 
    318318        if (!isset($this->arrSql['category_id'])) $this->arrSql['category_id'] = ""; 
    319319        if ( strlen($this->arrSql['category_id']) > 0){ 
    320             //カテゴリーで絞込検索を行うSQL文生成 
     320            // カテゴリーで絞込検索を行うSQL文生成 
    321321            list($tmp_where, $tmp_arrval) = $objDb->sfGetCatWhere($this->arrSql['category_id']); 
    322322 
    323             //カテゴリーで絞込みが可能の場合 
     323            // カテゴリーで絞込みが可能の場合 
    324324            if($tmp_where != "") { 
    325325                $this->setWhere( " customer_id IN (SELECT distinct customer_id FROM dtb_order WHERE order_id IN (SELECT distinct order_id FROM dtb_order_detail WHERE product_id IN (SELECT product_id FROM dtb_product_categories WHERE ".$tmp_where." ))) "); 
     
    327327            } 
    328328        } 
    329         //携帯電話番号 
     329        // 携帯電話番号 
    330330        if (!isset($this->arrSql['cell'])) $this->arrSql['cell'] = ""; 
    331331        if ( is_numeric( $this->arrSql['cell'] ) ) { 
     
    335335        } 
    336336 
    337         //キャンペーン 
     337        // キャンペーン 
    338338        if (!isset($this->arrSql['campaign_id'])) $this->arrSql['campaign_id'] = ""; 
    339339        if ( is_numeric( $this->arrSql['campaign_id'] ) ) { 
     
    342342        } 
    343343 
    344         //会員状態 
     344        // 会員状態 
    345345        if (!isset($this->arrSql['status'])) $this->arrSql['status'] = ""; 
    346346        if ( is_array( $this->arrSql['status'] ) ){ 
     
    395395    } 
    396396 
    397     // 検索総数カウント用SQL 
     397    // 検索総数カウント用SQL 
    398398    function getListCount() { 
    399399        $this->select = "SELECT COUNT(customer_id) FROM dtb_customer "; 
     
    401401    } 
    402402 
    403     // CSVダウンロード用SQL 
     403    // CSVダウンロード用SQL 
    404404    function getListCSV($arrColumnCSV) { 
    405405        $this->arrColumnCSV = $arrColumnCSV; 
Note: See TracChangeset for help on using the changeset viewer.