com\setasign\Konquadrat\Import\RowImport

RowImportHandler Class RowImportHandler

File: /Konquadrat/src/Import/RowImport/RowImportHandler.php

Class hierarchy

Implements

Summary

Properties

$di

protected RowImportHandler::$di

$importDefinition

$importDefinitionManager

$importSchema

$importTask

$mainImportRowFactory

$objectFinder


Methods

__construct()

buildRowImport()

getDefinitionConfig()

public RowImportHandler::getDefinitionConfig (
void
): array

getDynamicFieldContainerFields()

Returns the configured fields for this field container.

getRowImport()

importRow()

public RowImportHandler::importRow (
\com\setasign\SetaFramework\Database\Table\Row $row
): void
Parameters
$row : \com\setasign\SetaFramework\Database\Table\Row
 

mapField()

protected RowImportHandler::mapField (
array $field,
array $fileRow
): void
Parameters
$field : array
 
$fileRow : array
 

mapImportRow()

public RowImportHandler::mapImportRow (
array $fileRow
): array
Parameters
$fileRow : array
 
Exceptions

Throws \com\setasign\SetaFramework\InvalidConfigurationException If the importSchema is invalid.

sanitizeRow()

public RowImportHandler::sanitizeRow (
\com\setasign\SetaFramework\Database\Table\Row $row
): void
Parameters
$row : \com\setasign\SetaFramework\Database\Table\Row
 
Exceptions

Throws \com\setasign\SetaFramework\Exception If the row save cannot be executed!