- Timestamp:
- 2013/08/24 23:33:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/SC_CustomerList.php
r22928 r23124 27 27 class SC_CustomerList extends SC_SelectSql_Ex 28 28 { 29 var$arrColumnCSV;30 31 function __construct($array, $mode = '')29 public $arrColumnCSV; 30 31 public function __construct($array, $mode = '') 32 32 { 33 33 parent::__construct($array); … … 309 309 if ($tmp_where != '') { 310 310 $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); 312 312 } 313 313 } … … 326 326 327 327 // 検索用SQL 328 function getList()328 public function getList() 329 329 { 330 330 $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 '; … … 333 333 } 334 334 335 function getListMailMagazine($is_mobile = false)335 public function getListMailMagazine($is_mobile = false) 336 336 { 337 337 $colomn = $this->getMailMagazineColumn($is_mobile); … … 346 346 347 347 // 検索総数カウント用SQL 348 function getListCount()348 public function getListCount() 349 349 { 350 350 $this->select = 'SELECT COUNT(customer_id) FROM dtb_customer '; … … 354 354 355 355 // CSVダウンロード用SQL 356 function getListCSV($arrColumnCSV)356 public function getListCSV($arrColumnCSV) 357 357 { 358 358 $this->arrColumnCSV = $arrColumnCSV; … … 369 369 } 370 370 371 function getWhere()371 public function getWhere() 372 372 { 373 373 return array(parent::getWhere(), $this->arrVal);
Note: See TracChangeset
for help on using the changeset viewer.
