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

DerivedAttributeImportRules Class Reference

Inheritance diagram for DerivedAttributeImportRules:
AttributeImportRules AfterSaveActionDerivedAttributeImportRules ContactStateAttributeImportRules FullNameAttributeImportRules ModelDerivedAttributeImportRules PasswordAttributeImportRules UserStatusAttributeImportRules LeadStateAttributeImportRules AccountDerivedAttributeImportRules ContactDerivedAttributeImportRules ImportModelTestItem3DerivedAttributeImportRules OpportunityDerivedAttributeImportRules

Public Member Functions

 getModelAttributeName ()
 getRealModelAttributeNames ()
 getDisplayLabel ()
 resolveValueForImport ($value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil)

Detailed Description

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

Definition at line 40 of file DerivedAttributeImportRules.php.


Member Function Documentation

getRealModelAttributeNames (  ) 

Override when there are real model attributes that the derived attribute correspond to.

See also:
AttributeImportRules::getRealModelAttributeNames()
Returns:
array

Reimplemented from AttributeImportRules.

Reimplemented in ContactStateAttributeImportRules, FullNameAttributeImportRules, ModelDerivedAttributeImportRules, PasswordAttributeImportRules, and UserStatusAttributeImportRules.

Definition at line 53 of file DerivedAttributeImportRules.php.

getDisplayLabel (  ) 

Override in any derived children classes to ensure a display label is available.

See also:
AttributeImportRules::getDisplayLabel()

Reimplemented in ContactStateAttributeImportRules, FullNameAttributeImportRules, ModelDerivedAttributeImportRules, PasswordAttributeImportRules, and UserStatusAttributeImportRules.

Definition at line 62 of file DerivedAttributeImportRules.php.

resolveValueForImport ( value,
columnName,
columnMappingData,
ImportSanitizeResultsUtil importSanitizeResultsUtil 
)

Derived attribute import rules need to implement this method individually. Override for each derived atribute import rule and implement as needed.

Parameters:
mixed $value
string $columnName
array $columnMappingData
ImportSanitizeResultsUtil $importSanitizeResultsUtil
Exceptions:
NotImplementedException 

Reimplemented in ContactStateAttributeImportRules, FullNameAttributeImportRules, ModelDerivedAttributeImportRules, PasswordAttributeImportRules, and UserStatusAttributeImportRules.

Definition at line 76 of file DerivedAttributeImportRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Mar 20 07:10:52 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