All Data Structures Functions Variables Pages
Public Member Functions
UserStatusSanitizerUtil Class Reference
Inheritance diagram for UserStatusSanitizerUtil:
SanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 
 sanitizeValue ($value)
 
- Public Member Functions inherited from SanitizerUtil
 sanitizeValue ($value)
 
 analyzeByRow (RedBean_OODBBean $rowBean)
 
 __construct ($modelClassName, $attributeName, $columnName, array $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil=null, $penultimateModelClassName, $penultimateAttributeName, $explicitReadWriteModelPermissions=null)
 
 shouldSanitizeValue ()
 
 getAnalysisMessages ()
 
 getShouldSkipRow ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SanitizerUtil
static getType ()
 
static getLinkedMappingRuleType ()
 
static shouldNotSaveModelOnSanitizingValueFailure ()
 
- Protected Member Functions inherited from SanitizerUtil
 init ()
 
 assertMappingRuleDataIsValid ()
 
- Static Protected Member Functions inherited from SanitizerUtil
static resolveMappingRuleData ($columnMappingData)
 
- Protected Attributes inherited from SanitizerUtil
 $modelClassName
 
 $attributeName
 
 $analysisMessages = array()
 
 $shouldSkipRow = false
 
 $columnName
 
 $columnMappingData = array()
 
 $mappingRuleData = array()
 
 $importSanitizeResultsUtil
 
 $penultimateModelClassName
 
 $penultimateAttributeName
 
 $explicitReadWriteModelPermissions = null
 

Detailed Description

Sanitizer for handling user status.

Definition at line 40 of file UserStatusSanitizerUtil.php.

Member Function Documentation

analyzeByRow ( RedBean_OODBBean  $rowBean)
Parameters
RedBean_OODBBean$rowBean

Definition at line 45 of file UserStatusSanitizerUtil.php.

sanitizeValue (   $value)

Given a user status, attempt to resolve it as a valid status. If the status is invalid, a InvalidValueToSanitizeException will be thrown.

Parameters
mixed$value
Returns
sanitized value
Exceptions
InvalidValueToSanitizeException

Definition at line 63 of file UserStatusSanitizerUtil.php.


The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:11:09