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

MultiSelectDropDownSanitizerUtil Class Reference

Inheritance diagram for MultiSelectDropDownSanitizerUtil:
DropDownSanitizerUtil SanitizerUtil ImportSanitizerHasCustomFieldValuesInterface

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Static Public Member Functions

static getCustomFieldValuesFromValueString ($value)

Static Protected Member Functions

static processMissingValueToMapAndGetResolvedValueToUse ($aValue, &$generateMissingPickListError, array $customFieldsInstructionData, array $dropDownValues, array $lowerCaseDropDownValues)
static makeOwnedMultiSelectCustomField ($resolvedValuesToUse, $customFieldData)

Detailed Description

Sanitizer for multi-select drop down attributes.

Definition at line 40 of file MultiSelectDropDownSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from DropDownSanitizerUtil.

Definition at line 45 of file MultiSelectDropDownSanitizerUtil.php.

sanitizeValue ( value  ) 

Given a value, resolve that the value is a valid custom field data value. If the value does not exist yet, check the import instructions data to determine how to handle the missing value.

Example of customFieldsInstructionData array(array(CustomFieldsInstructionData::ADD_MISSING_VALUES => array('neverPresent', 'notPresent'))

Parameters:
mixed $value
Returns:
sanitized value
Exceptions:
InvalidValueToSanitizeException 

Reimplemented from DropDownSanitizerUtil.

Definition at line 78 of file MultiSelectDropDownSanitizerUtil.php.

static getCustomFieldValuesFromValueString ( value  )  [static]
Parameters:
string $value
Returns:
array

Definition at line 149 of file MultiSelectDropDownSanitizerUtil.php.


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