Ignore:
Timestamp:
2008/08/28 14:48:13 (16 years ago)
Author:
Seasoft
Message:

merge 17337,17338,17339,17343,17344,17346,17370,17371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/admin/customer/LC_Page_Admin_Customer.php

    r17568 r17575  
    315315 
    316316                    //- CSV出力 
    317                     $data = $this->lfGetCSVData($this->search_data, $arrColumn); 
     317                    $data = SC_Utils_Ex::getCSVData($this->search_data, $arrColumn); 
    318318 
    319319                    SC_Utils_Ex::sfCSVDownload($header.$data); 
     
    531531        } 
    532532    } 
    533  
    534     //---- CSV出力用データ取得 
    535     function lfGetCSVData( $array, $arrayIndex){ 
    536  
    537         for ($i=0; $i<count($array); $i++){ 
    538  
    539             for ($j=0; $j<count($array[$i]); $j++ ){ 
    540                 if ( $j > 0 ) $return .= ","; 
    541                 $return .= "\""; 
    542                 if ( $arrayIndex ){ 
    543                     $return .= mb_ereg_replace("<","<",mb_ereg_replace( "\"","\"\"",$array[$i][$arrayIndex[$j]] )) ."\""; 
    544                 } else { 
    545                     $return .= mb_ereg_replace("<","<",mb_ereg_replace( "\"","\"\"",$array[$i][$j] )) ."\""; 
    546                 } 
    547             } 
    548             $return .= "\n"; 
    549         } 
    550  
    551         return $return; 
    552     } 
    553533} 
    554534?> 
Note: See TracChangeset for help on using the changeset viewer.