Class SC_Helper_CSV

Description

CSV 関連 のヘルパークラス.

  • author: LOCKON CO.,LTD.
  • version: $Id: SC_Helper_CSV.php 17799 2009-02-17 14:19:20Z Seasoft $

Located in /class/helper/SC_Helper_CSV.php (line 15)


	
			
Direct descendents
Class Description
SC_Helper_CSV_Ex CSV関連のヘルパークラス(拡張).
Variable Summary
Method Summary
SC_Helper_CSV SC_Helper_CSV ()
void lfDownloadCsv ( $arrayData, [ $prefix = ""])
void lfGetCSV ( $from,  $where,  $option,  $arrval, [ $arrCsvOutputCols = ""])
void lfGetReviewCSV ( $where,  $option,  $arrval)
void lfGetTrackbackCSV ( $where,  $option,  $arrval)
void lfMakeCSV ( $list)
void lfMakeReviewCSV ( $list)
void lfMakeTrackbackCSV ( $list)
void sfArrayToCsv ( $fields, [ $delimiter = ','], [ $enclosure = '"'], [ $arrayDelimiter = '|'])
void sfDownloadProductsCsv ( $where,  $arrval,  $order)
array sfgetCsvOutput ([integer $csv_id = ""], [string $where = ""], [array $arrVal = array()])
Variables
mixed $arrREVIEW_CVSCOL (line 26)

レビュー管理項目

mixed $arrREVIEW_CVSTITLE (line 29)

レビュータイトル

mixed $arrSubnavi (line 20)

項目英名

mixed $arrSubnaviName (line 23)

項目名

mixed $arrTRACKBACK_CVSCOL (line 32)

トラックバック項目

mixed $arrTRACKBACK_CVSTITLE (line 35)

トラックバックタイトル

Methods
Constructor SC_Helper_CSV (line 44)

デフォルトコンストラクタ.

SC_Helper_CSV SC_Helper_CSV ()
lfDownloadCsv (line 446)

CSVを送信する。

void lfDownloadCsv ( $arrayData, [ $prefix = ""])
  • $arrayData
  • $prefix
lfGetCSV (line 235)
void lfGetCSV ( $from,  $where,  $option,  $arrval, [ $arrCsvOutputCols = ""])
  • $from
  • $where
  • $option
  • $arrval
  • $arrCsvOutputCols
lfGetReviewCSV (line 162)
void lfGetReviewCSV ( $where,  $option,  $arrval)
  • $where
  • $option
  • $arrval
lfGetTrackbackCSV (line 182)
void lfGetTrackbackCSV ( $where,  $option,  $arrval)
  • $where
  • $option
  • $arrval
lfMakeCSV (line 254)
void lfMakeCSV ( $list)
  • $list
lfMakeReviewCSV (line 278)
void lfMakeReviewCSV ( $list)
  • $list
lfMakeTrackbackCSV (line 308)
void lfMakeTrackbackCSV ( $list)
  • $list
sfArrayToCsv (line 411)

1次元配列を1行のCSVとして返す

参考: http://jp.php.net/fputcsv

void sfArrayToCsv ( $fields, [ $delimiter = ','], [ $enclosure = '"'], [ $arrayDelimiter = '|'])
  • $fields
  • $delimiter
  • $enclosure
  • $arrayDelimiter
sfDownloadCategoryCsv (line 201)
void sfDownloadCategoryCsv ()
sfDownloadProductsCsv (line 103)
void sfDownloadProductsCsv ( $where,  $arrval,  $order)
  • $where
  • $arrval
  • $order
sfgetCsvOutput (line 66)

CSV 項目を出力する.

  • return: CSV 項目の配列
array sfgetCsvOutput ([integer $csv_id = ""], [string $where = ""], [array $arrVal = array()])
  • integer $csv_id: CSV ID
  • string $where: SQL の WHERE 句
  • array $arrVal: WHERE 句の要素

Documentation generated on Tue, 28 Apr 2009 18:13:24 +0900 by phpDocumentor 1.4.2