デフォルトコンストラクタ.
SC_Helper_CSV
SC_Helper_CSV
()
CSVを送信する。
void
lfDownloadCsv
( $arrayData, [ $prefix = ""])
void
lfGetCSV
( $from, $where, $option, $arrval, [ $arrCsvOutputCols = ""])
-
$from
-
$where
-
$option
-
$arrval
-
$arrCsvOutputCols
void
lfGetReviewCSV
( $where, $option, $arrval)
void
lfGetTrackbackCSV
( $where, $option, $arrval)
void
lfMakeReviewCSV
( $list)
void
lfMakeTrackbackCSV
( $list)
1次元配列を1行のCSVとして返す
参考: http://jp.php.net/fputcsv
void
sfArrayToCsv
( $fields, [ $delimiter = ','], [ $enclosure = '"'], [ $arrayDelimiter = '|'])
-
$fields
-
$delimiter
-
$enclosure
-
$arrayDelimiter
void
sfDownloadCategoryCsv
()
void
sfDownloadProductsCsv
( $where, $arrval, $order)
CSV 項目を出力する.
array
sfgetCsvOutput
([integer $csv_id = ""], [string $where = ""], [array $arrVal = array()])
-
integer
$csv_id: CSV ID
-
string
$where: SQL の WHERE 句
-
array
$arrVal: WHERE 句の要素