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

NonDerivedAttributeImportRules Class Reference

Inheritance diagram for NonDerivedAttributeImportRules:
AttributeImportRules AfterSaveActionNonDerivedAttributeImportRules CheckBoxAttributeImportRules CreatedByUserAttributeImportRules CreatedDateTimeAttributeImportRules CurrencyValueAttributeImportRules DateAttributeImportRules DateTimeAttributeImportRules DecimalAttributeImportRules DropDownAttributeImportRules EmailAttributeImportRules IdAttributeImportRules ImportModelTestItem2AttributeImportRules IntegerAttributeImportRules LatestActivityDateTimeAttributeImportRules ModelAttributeImportRules ModifiedByUserAttributeImportRules ModifiedDateTimeAttributeImportRules MultiSelectDropDownAttributeImportRules PhoneAttributeImportRules StageModifiedDateTimeAttributeImportRules TextAreaAttributeImportRules TextAttributeImportRules UrlAttributeImportRules UsernameAttributeImportRules

Public Member Functions

 __construct ($model, $attributeName, $explicitReadWriteModelPermissions=null)
 getDisplayLabel ()
 getModelAttributeName ()
 getRealModelAttributeNames ()
 resolveValueForImport ($value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil)
 getPenultimateModelClassName ()
 setPenultimateModelClassName ($penultimateModelClassName)
 getPenultimateAttributeName ()
 setPenultimateAttributeName ($penultimateAttributeName)

Protected Attributes

 $attributeName
 $penultimateModelClassName
 $penultimateAttributeName

Detailed Description

Base class for defining a non-derived attribute's import rules.

Definition at line 40 of file NonDerivedAttributeImportRules.php.


Constructor & Destructor Documentation

__construct ( model,
attributeName,
explicitReadWriteModelPermissions = null 
)
Parameters:
$model 
null $attributeName
null || ExplicitReadWriteModelPermissions $explicitReadWriteModelPermissions

Definition at line 53 of file NonDerivedAttributeImportRules.php.


Member Function Documentation

getRealModelAttributeNames (  ) 

Provides the same information as

See also:
getModelAttributeName. In the case of DerivedAttributeImportRules this produces only the attributes that the derived attribute corresponds to.
AttributeImportRules::getRealModelAttributeNames()
Returns:
array

Reimplemented from AttributeImportRules.

Definition at line 76 of file NonDerivedAttributeImportRules.php.

resolveValueForImport ( value,
columnName,
columnMappingData,
ImportSanitizeResultsUtil importSanitizeResultsUtil 
)

Given a value and mapping data, run each sanitizer and process any messages or error information into the ImportSanitizeResultsUtil object provided.

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

Reimplemented in CurrencyValueAttributeImportRules, and IdAttributeImportRules.

Definition at line 90 of file NonDerivedAttributeImportRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jun 25 07:11:05 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