- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_CustomerList.php
r22273 r22567 25 25 * [概要] 会員検索用クラス 26 26 */ 27 class SC_CustomerList extends SC_SelectSql_Ex { 27 class SC_CustomerList extends SC_SelectSql_Ex 28 { 28 29 29 30 var $arrColumnCSV; 30 31 31 function __construct($array, $mode = '') { 32 function __construct($array, $mode = '') 33 { 32 34 parent::__construct($array); 33 35 … … 327 329 328 330 // 検索用SQL 329 function getList() { 331 function getList() 332 { 330 333 $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 '; 331 334 return $this->getSql(2); 332 335 } 333 336 334 function getListMailMagazine($is_mobile = false) { 337 function getListMailMagazine($is_mobile = false) 338 { 335 339 336 340 $colomn = $this->getMailMagazineColumn($is_mobile); … … 344 348 345 349 // 検索総数カウント用SQL 346 function getListCount() { 350 function getListCount() 351 { 347 352 $this->select = 'SELECT COUNT(customer_id) FROM dtb_customer '; 348 353 return $this->getSql(1); … … 350 355 351 356 // CSVダウンロード用SQL 352 function getListCSV($arrColumnCSV) { 357 function getListCSV($arrColumnCSV) 358 { 353 359 $this->arrColumnCSV = $arrColumnCSV; 354 360 $i = 0; … … 363 369 } 364 370 365 function getWhere() { 371 function getWhere() 372 { 366 373 return array($this->where, $this->arrVal); 367 374 }
Note: See TracChangeset
for help on using the changeset viewer.