Ignore:
Timestamp:
2013/08/24 23:33:52 (13 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
PHP4的な書き方の修正

File:
1 edited

Legend:

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

    r22928 r23124  
    2727class SC_CustomerList extends SC_SelectSql_Ex 
    2828{ 
    29     var $arrColumnCSV; 
    30  
    31     function __construct($array, $mode = '') 
     29    public $arrColumnCSV; 
     30 
     31    public function __construct($array, $mode = '') 
    3232    { 
    3333        parent::__construct($array); 
     
    309309            if ($tmp_where != '') { 
    310310                $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.') AND del_flg = 0)) '); 
    311                 $this->arrVal = array_merge((array)$this->arrVal, (array)$tmp_arrval); 
     311                $this->arrVal = array_merge((array) $this->arrVal, (array) $tmp_arrval); 
    312312            } 
    313313        } 
     
    326326 
    327327    // 検索用SQL 
    328     function getList() 
     328    public function getList() 
    329329    { 
    330330        $this->select = 'SELECT customer_id,name01,name02,kana01,kana02,sex,email,email_mobile,tel01,tel02,tel03,pref,status,update_date,mailmaga_flg FROM dtb_customer '; 
     
    333333    } 
    334334 
    335     function getListMailMagazine($is_mobile = false) 
     335    public function getListMailMagazine($is_mobile = false) 
    336336    { 
    337337        $colomn = $this->getMailMagazineColumn($is_mobile); 
     
    346346 
    347347    // 検索総数カウント用SQL 
    348     function getListCount() 
     348    public function getListCount() 
    349349    { 
    350350        $this->select = 'SELECT COUNT(customer_id) FROM dtb_customer '; 
     
    354354 
    355355    // CSVダウンロード用SQL 
    356     function getListCSV($arrColumnCSV) 
     356    public function getListCSV($arrColumnCSV) 
    357357    { 
    358358        $this->arrColumnCSV = $arrColumnCSV; 
     
    369369    } 
    370370 
    371     function getWhere() 
     371    public function getWhere() 
    372372    { 
    373373        return array(parent::getWhere(), $this->arrVal); 
Note: See TracChangeset for help on using the changeset viewer.