Commit ec6bf991627b63ee935de41143c20f6c6674862d

Authored by Mihail
1 parent 78fd7100

add TableParser and redid CsvParser

Showing 1 changed file with 0 additions and 3 deletions   Show diff stats
common/components/parsers/config.php
@@ -11,7 +11,6 @@ @@ -11,7 +11,6 @@
11 'console' => 11 'console' =>
12 ['class' => 'common\components\parsers\CustomCsvParser', 12 ['class' => 'common\components\parsers\CustomCsvParser',
13 'auto_detect_first_line' => true, 13 'auto_detect_first_line' => true,
14 - 'hasHeaderRow' => true,  
15 'converter_conf' => [ 14 'converter_conf' => [
16 'class' => ' common\components\parsers\CustomConverter', 15 'class' => ' common\components\parsers\CustomConverter',
17 'configuration' => ["string" => 'DESCR', 16 'configuration' => ["string" => 'DESCR',
@@ -38,11 +37,9 @@ @@ -38,11 +37,9 @@
38 'crosses' => ['class' => 'common\components\parsers\CustomCsvParser', 37 'crosses' => ['class' => 'common\components\parsers\CustomCsvParser',
39 'auto_detect_first_line' => true, 38 'auto_detect_first_line' => true,
40 'min_column_quantity' => 4, 39 'min_column_quantity' => 4,
41 - 'hasHeaderRow' => true,  
42 'keys' =>['ARTICLE', 'CROSS_ARTICLE', 'BRAND', 'CROSS_BRAND'], 40 'keys' =>['ARTICLE', 'CROSS_ARTICLE', 'BRAND', 'CROSS_BRAND'],
43 'converter_conf' => [ 41 'converter_conf' => [
44 'class' => ' common\components\parsers\CustomConverter', 42 'class' => ' common\components\parsers\CustomConverter',
45 - 'hasKey' => 1,  
46 'configuration' => [ 43 'configuration' => [
47 "brand" => ['BRAND', 'CROSS_BRAND'], 44 "brand" => ['BRAND', 'CROSS_BRAND'],
48 "crosses" => [], 45 "crosses" => [],