PHP 클래스 Eccube\Tests\Web\Admin\Product\CsvImportControllerTest

파일 보기 프로젝트 열기: ec-cube/ec-cube

보호된 프로퍼티들

프로퍼티 타입 설명
$Products
$filepath

공개 메소드들

메소드 설명
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 ( )

메소드 상세

createCsvAsArray() 공개 메소드

CSVを生成するための配列を返す.
또한 보기: CsvImportController::getProductCsvHeader()
public createCsvAsArray ( boolean $has_header = true ) : array
$has_header boolean ヘッダ行を含める場合 true
리턴 array CSVを生成するための配列

createCsvFromArray() 공개 메소드

引数の配列から CSV を生成し, リソースを返す.
public createCsvFromArray ( array $csv, $filename = 'products.csv' )
$csv array

scenario() 공개 메소드

$this->filepath のファイルを CSV アップロードし, 完了画面の crawler を返す.
public scenario ( $bind = 'admin_product_csv_import', $original_name = 'products.csv' )

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testCsvCategory() 공개 메소드

public testCsvCategory ( )

testCsvCategoryWithNew() 공개 메소드

testCsvImportWithExistsProducts() 공개 메소드

testCsvImportWithExistsProductsAddProductClass() 공개 메소드

既存の規格なし商品に商品規格を追加する.

testCsvProduct() 공개 메소드

public testCsvProduct ( )

testCsvTemplateWithCategory() 공개 메소드

testCsvTemplateWithProduct() 공개 메소드

프로퍼티 상세

$Products 보호되어 있는 프로퍼티

protected $Products

$filepath 보호되어 있는 프로퍼티

protected $filepath