ImportSanitizerUtil Class Reference

Static Public Member Functions

static sanitizeValueBySanitizerTypes ($sanitizerUtilTypes, $modelClassName, $attributeName, $value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil, $penultimateModelClassName=null, $penultimateAttributeName=null)

Detailed Description

Helper class for working with sanitizers.

Definition at line 40 of file ImportSanitizerUtil.php.


Member Function Documentation

static sanitizeValueBySanitizerTypes ( sanitizerUtilTypes,
modelClassName,
attributeName,
value,
columnName,
columnMappingData,
ImportSanitizeResultsUtil importSanitizeResultsUtil,
penultimateModelClassName = null,
penultimateAttributeName = null 
) [static]

Given an array of sanitizer util types, a value, as well as several other parameters, run through each sanitizer type on the value and process any sanitization messages or errors into the ImportSanitizeResultsUtil provided.

Parameters:
array $sanitizerUtilTypes
string $modelClassName
string $attributeName
mixed $value
array $columnMappingData
ImportSanitizeResultsUtil $importSanitizeResultsUtil
Returns:
mixed value

Definition at line 54 of file ImportSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu May 25 07:10:26 2017