- Timestamp:
- 2011/01/18 06:06:11 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_CSV.php
r19805 r19950 93 93 94 94 // CSV出力タイトル行の作成 95 $arrCsvOutput = SC_Utils_Ex::sfSwapArray($this->sfgetCsvOutput($csv_id, 'status = 1'));95 $arrCsvOutput = SC_Utils_Ex::sfSwapArray($this->sfgetCsvOutput($csv_id, 'status = ' . CSV_COLUMN_STATUS_FLG_ENABLE)); 96 96 97 97 if (count($arrCsvOutput) <= 0) break; … … 113 113 $result = true; 114 114 foreach($arrCSVFrame as $key => $val) { 115 if($val['status'] != "1"116 and $val['rw_flg'] == "1"115 if($val['status'] != CSV_COLUMN_STATUS_FLG_ENABLE 116 and $val['rw_flg'] == CSV_COLUMN_RW_FLG_READ_WRITE 117 117 and $val['error_check_types'] != "" 118 118 and stripos($val['error_check_types'], "EXIST_CHECK") !== FALSE) { … … 133 133 $result = true; 134 134 foreach($arrCSVFrame as $key => $val) { 135 if($val['status'] != "1"136 and $val['rw_flg'] == "3") {135 if($val['status'] != CSV_COLUMN_STATUS_FLG_ENABLE 136 and $val['rw_flg'] == CSV_COLUMN_RW_FLG_KEY_FIELD) { 137 137 //キーフィールド 138 138 $result = false; … … 178 178 179 179 // CSV出力タイトル行の作成 180 $arrOutput = SC_Utils_Ex::sfSwapArray($this->sfgetCsvOutput(1, 'status = 1'));180 $arrOutput = SC_Utils_Ex::sfSwapArray($this->sfgetCsvOutput(1, 'status = ' . CSV_COLUMN_STATUS_FLG_ENABLE)); 181 181 if (count($arrOutput) <= 0) return false; // 失敗終了 182 182 $arrOutputCols = $arrOutput['col']; … … 263 263 264 264 // CSV出力タイトル行の作成 265 $arrOutput = SC_Utils_Ex::sfSwapArray($this->sfgetCsvOutput(5, 'status = 1'));265 $arrOutput = SC_Utils_Ex::sfSwapArray($this->sfgetCsvOutput(5, 'status = ' . CSV_COLUMN_STATUS_FLG_ENABLE)); 266 266 if (count($arrOutput) <= 0) return false; // 失敗終了 267 267 $arrOutputCols = $arrOutput['col'];
Note: See TracChangeset
for help on using the changeset viewer.
