SelfIdValueTypeSanitizerUtil Class Reference

Inheritance diagram for SelfIdValueTypeSanitizerUtil:
IdValueTypeSanitizerUtil ExternalSystemIdSuppportedSanitizerUtil SanitizerUtil

Public Member Functions

 sanitizeValue ($value)

Static Public Member Functions

static getLinkedMappingRuleType ()

Protected Member Functions

 resolveForUnfoundModel (RedBean_OODBBean $rowBean)

Detailed Description

Sanitizer for attributes that are ids. This would be used if mapping an id for the model that is being imported.

Override to handle when the value is an id that represents the model itself.

Definition at line 42 of file SelfIdValueTypeSanitizerUtil.php.

Member Function Documentation

static getLinkedMappingRuleType (  )  [static]
string - the type of linked mapping rule or null if none available. Some sanitizers and data analyzers need information from a mapping rule form in order to perform their job. This method returns the type of mapping rule form.

Reimplemented from IdValueTypeSanitizerUtil.

Definition at line 44 of file SelfIdValueTypeSanitizerUtil.php.

sanitizeValue ( value  ) 

Given a value that is either a zurmo id or an external system id, resolve that the value is valid. If the value is not valid then an InvalidValueToSanitizeException is thrown.

mixed $value
sanitized value

Reimplemented from SanitizerUtil.

Definition at line 72 of file SelfIdValueTypeSanitizerUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Oct 21 07:10:30 2017