Logo white

Mihail / yii-multiparser

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • yii-multiparser
  • lib
  • config.php
  • fixed namespace issue
    d0261fd1
    Mihail authored
    2015-10-26 11:38:55 +0200  
    Browse Code »
config.php 632 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
return
    [
        'csv' =>
            ['web' =>
                ['class' => 'yii\multiparser\CsvParser',
                    'auto_detect_first_line' => true,
                    'converter_conf' => [
                    "float" => 'PRICE',
                    "integer" => 'QUANTITY',
                    "string" => 'DESCR'
                    ]],
                'basic_column' => [
                    "ARTICLE" => 'Артикул',
                    "PRICE" => 'Цена',
                    "DESCR" => 'Наименование',
                    "QUANTITY" => 'Колво'

                ],
            ]];