- Timestamp:
- 2010/02/12 18:46:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/class/pages/admin/products/LC_Page_Admin_Products_Category.php
r18432 r18562 180 180 181 181 $objCSV = new SC_Helper_CSV_Ex(); 182 // オプションの指定 183 $option = "ORDER BY rank DESC"; 184 // CSV出力タイトル行の作成 185 $arrOutput = SC_Utils_Ex::sfSwapArray($objCSV->sfgetCsvOutput(5, " WHERE csv_id = 5 AND status = 1")); 186 187 if (count($arrOutput) <= 0) break; 188 189 $arrOutputCols = $arrOutput['col']; 190 $arrOutputTitle = $arrOutput['disp_name']; 191 192 $head = SC_Utils_Ex::sfGetCSVList($arrOutputTitle); 193 194 $where = "del_flg = 0"; 195 $arrval = array(); 196 $data = $objCSV->lfGetCategoryCSV($where, $option, $arrval, $arrOutputCols); 197 198 // CSVを送信する。 199 SC_Utils_Ex::sfCSVDownload($head.$data, 'category'); 200 exit; 182 183 // CSVを送信する。正常終了の場合、終了。 184 $objCSV->sfDownloadCategoryCsv() && exit; 185 201 186 break; 202 187 default:
Note: See TracChangeset
for help on using the changeset viewer.