コード例 #1
0
ファイル: import_statement.php プロジェクト: jahau/MLInvoice
 public function __construct()
 {
     parent::__construct();
     $this->tableName = 'account_statement';
     $this->allowServerFile = false;
     $this->duplicateControl = false;
     $this->dateFormat = true;
     $this->decimalSeparator = true;
     $this->ignoreEmptyRows = true;
     $this->presets = [['name' => 'Osuuspankki', 'selections' => ['charset' => 1, 'format' => 0, 'field_delim' => 1, 'enclosure_char' => 0, 'row_delim' => 0, 'date_format' => 0], 'mappings' => ['map_column1' => 1, 'map_column2' => 2, 'map_column7' => 3], 'values' => ['decimal_separator' => ',', 'skip_rows' => '0']], ['name' => 'Nordea', 'selections' => ['charset' => 0, 'format' => 0, 'field_delim' => 2, 'enclosure_char' => 2, 'row_delim' => 1, 'date_format' => 0], 'mappings' => ['map_column1' => 1, 'map_column2' => 2, 'map_column8' => 3], 'values' => ['decimal_separator' => ',', 'skip_rows' => '1']]];
 }