Changeset 11755


Ignore:
Timestamp:
2007/03/12 10:50:02 (17 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_CustomerList.php

    r11748 r11755  
    283283 
    284284    function getListMailMagazine($is_mobile = false) { 
    285          
     285             
     286        $colomn = $this->getMailMagazineColumn($is_mobile); 
     287        $this->select = " 
     288            SELECT  
     289                $colomn 
     290            FROM  
     291                dtb_customer"; 
     292        return $this->getSql(0);     
     293    } 
     294     
     295    function getMailMagazineColumn($is_mobile= false) { 
    286296        if($is_mobile == true) { 
    287297            $email_column = "dtb_customer.email_mobile as email"; 
     
    290300        } 
    291301         
    292         $this->select = " 
    293             SELECT  
    294                 dtb_customer.customer_id, 
     302        $column ="dtb_customer.customer_id, 
    295303                dtb_customer.name01, 
    296304                dtb_customer.name02, 
     
    303311                dtb_customer.tel03, 
    304312                dtb_customer.pref,  
    305                 dtb_customer.mailmaga_flg  
    306             FROM  
    307                 dtb_customer"; 
    308         return $this->getSql(0);     
     313                dtb_customer.mailmaga_flg"; 
     314                 
     315        return $column; 
    309316    } 
    310317     
Note: See TracChangeset for help on using the changeset viewer.