Property | Type | Description | |
---|---|---|---|
$Products | |||
$filepath |
Method | Description | |
---|---|---|
createCsvAsArray ( boolean $has_header = true ) : array | CSVを生成するための配列を返す. | |
createCsvFromArray ( array $csv, $filename = 'products.csv' ) | 引数の配列から CSV を生成し, リソースを返す. | |
scenario ( $bind = 'admin_product_csv_import', $original_name = 'products.csv' ) | $this->filepath のファイルを CSV アップロードし, 完了画面の crawler を返す. | |
setUp ( ) | ||
tearDown ( ) | ||
testCsvCategory ( ) | ||
testCsvCategoryWithNew ( ) | ||
testCsvImportWithExistsProducts ( ) | ||
testCsvImportWithExistsProductsAddProductClass ( ) | 既存の規格なし商品に商品規格を追加する. | |
testCsvProduct ( ) | ||
testCsvTemplateWithCategory ( ) | ||
testCsvTemplateWithProduct ( ) |
public createCsvAsArray ( boolean $has_header = true ) : array | ||
$has_header | boolean | ヘッダ行を含める場合 true |
return | array | CSVを生成するための配列 |
public createCsvFromArray ( array $csv, $filename = 'products.csv' ) | ||
$csv | array |
public scenario ( $bind = 'admin_product_csv_import', $original_name = 'products.csv' ) |