MultiSelectDropDownRequiredSanitizerUtil Class Reference

Inheritance diagram for MultiSelectDropDownRequiredSanitizerUtil:
RequiredSanitizerUtil SanitizerUtil

Public Member Functions

 sanitizeValue ($value)

Static Public Member Functions

static getLinkedMappingRuleType ()

Detailed Description

Sanitizer for resolving if an attribute is required or not and whether the value is present. Override to handle multi-select drop down type attributes specifically.

Definition at line 41 of file MultiSelectDropDownRequiredSanitizerUtil.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 RequiredSanitizerUtil.

Definition at line 43 of file MultiSelectDropDownRequiredSanitizerUtil.php.

sanitizeValue ( value  ) 

If the attribute specified is required and the value is null, attempt to utilize a default value if it is specified. If it is not specified or the default value specified is not a valid custom field data value, then an InvalidValueToSanitizeException will be thrown.

mixed $value
sanitized value

Reimplemented from RequiredSanitizerUtil.

Definition at line 56 of file MultiSelectDropDownRequiredSanitizerUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 21 07:11:08 2019