Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

CurrencyValueAttributeImportRules Class Reference

Inheritance diagram for CurrencyValueAttributeImportRules:
NonDerivedAttributeImportRules AttributeImportRules

Public Member Functions

 resolveValueForImport ($value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil)

Static Public Member Functions

static getSanitizerUtilTypesInProcessingOrder ()

Static Protected Member Functions

static getAllModelAttributeMappingRuleFormTypesAndElementTypes ()

Detailed Description

Import rules for any attributes that are a CurrencyValue model.

Definition at line 40 of file CurrencyValueAttributeImportRules.php.


Member Function Documentation

static getAllModelAttributeMappingRuleFormTypesAndElementTypes (  )  [static, protected]

Returns mapping rule form and the associated element to use. Override to specify as many pairings as needed. This method is used for mapping rule form/element pairings that are available for both types of columns.

Returns:
array of MappingRuleForm/Element pairings.

Reimplemented from AttributeImportRules.

Definition at line 42 of file CurrencyValueAttributeImportRules.php.

static getSanitizerUtilTypesInProcessingOrder (  )  [static]
Returns:
array of sanitizer util names. The sanitizer utils in the array are in the order that they will be processed during the import.

Reimplemented from AttributeImportRules.

Definition at line 49 of file CurrencyValueAttributeImportRules.php.

resolveValueForImport ( value,
columnName,
columnMappingData,
ImportSanitizeResultsUtil importSanitizeResultsUtil 
)

There is a special way you can import rateToBase and currencyCode for an amount attribute. if the column data is formatted like: $54.67__1.2__USD then it will split the column and properly handle rate and currency code. Eventually this will be exposed in the user interface

Parameters:
mixed $value
string $columnName
array $columnMappingData
ImportSanitizeResultsUtil $importSanitizeResultsUtil
Returns:
array

Reimplemented from NonDerivedAttributeImportRules.

Definition at line 65 of file CurrencyValueAttributeImportRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jan 15 07:10:24 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8