ImportDataAnalyzer Class Reference

Public Member Functions

 __construct ($importRules, ImportDataProvider $dataProvider, array $mappingData, array $sanitizableColumnNames)
 analyzePage ()
 getCustomFieldsInstructionData ()

Static Public Member Functions

static getStatusLabelByType ($type)
static getStatusLabelAndVisualIdentifierContentByType ($type)

Data Fields

const STATUS_CLEAN = 1
const STATUS_WARN = 2
const STATUS_SKIP = 3

Static Protected Member Functions

static resolveAttributeNameByRules (AttributeImportRules $attributeImportRules)

Protected Attributes

 $importRules
 $dataProvider
 $messagesData = array()
 $mappingData
 $sanitizableColumnNames

Detailed Description

Class for handling the data analysis performed on mapped data in an import. Each column mapping can be analyzed and the resulting message and instructional data will be stored in an array which is accessible once the analysis is complete. NOTE - Analysis is only performed on mapped import columns and not extra columns with mapping rules.

Definition at line 43 of file ImportDataAnalyzer.php.


Constructor & Destructor Documentation

__construct ( importRules,
ImportDataProvider dataProvider,
array $  mappingData,
array $  sanitizableColumnNames 
)
Parameters:
string $importRules
object $dataProvider
array $mappingData
array $sanitizableColumnNames

Definition at line 133 of file ImportDataAnalyzer.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon May 29 07:10:25 2017