All Data Structures Functions Variables Pages
Static Public Member Functions
ImportSanitizerUtil Class Reference

Static Public Member Functions

static sanitizeValueBySanitizerTypes ($sanitizerUtilTypes, $modelClassName, $attributeName, $value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil, $penultimateModelClassName=null, $penultimateAttributeName=null, $explicitReadWriteModelPermissions=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,
  $explicitReadWriteModelPermissions = 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:
Generated on Thu Jan 23 2020 07:10:34