Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
UserValueTypeSanitizerUtil Class Reference
Inheritance diagram for UserValueTypeSanitizerUtil:
ExternalSystemIdSuppportedSanitizerUtil 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 ()
 

Static Public Member Functions

static getLinkedMappingRuleType ()
 
static getUsernames ()
 
static getUserIds ()
 
static getUserExternalSystemIds ()
 
- Static Public Member Functions inherited from ExternalSystemIdSuppportedSanitizerUtil
static getModelByExternalSystemIdAndModelClassName ($id, $modelClassName)
 
- Static Public Member Functions inherited from SanitizerUtil
static getType ()
 
static getLinkedMappingRuleType ()
 
static shouldNotSaveModelOnSanitizingValueFailure ()
 

Protected Member Functions

 getAcceptableValues ()
 
 assertMappingRuleDataIsValid ()
 
- Protected Member Functions inherited from ExternalSystemIdSuppportedSanitizerUtil
 resolveFoundIdByValue ($value)
 
 resolveAttributeModelClassName (RedBeanModel $model, $attributeName)
 
 resolveForFoundModel ()
 
 resolveFoundExternalSystemIdByValue ($value)
 
- Protected Member Functions inherited from SanitizerUtil
 init ()
 
 assertMappingRuleDataIsValid ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from SanitizerUtil
static resolveMappingRuleData ($columnMappingData)
 
- Protected Attributes inherited from ExternalSystemIdSuppportedSanitizerUtil
 $externalSystemIdMaxLength = 40
 
 $attributeModelClassName
 
- Protected Attributes inherited from SanitizerUtil
 $modelClassName
 
 $attributeName
 
 $analysisMessages = array()
 
 $shouldSkipRow = false
 
 $columnName
 
 $columnMappingData = array()
 
 $mappingRuleData = array()
 
 $importSanitizeResultsUtil
 
 $penultimateModelClassName
 
 $penultimateAttributeName
 
 $explicitReadWriteModelPermissions = null
 

Detailed Description

Sanitizer that is for attributes that are user models.

Definition at line 40 of file UserValueTypeSanitizerUtil.php.

Member Function Documentation

analyzeByRow ( RedBean_OODBBean  $rowBean)
Parameters
RedBean_OODBBean$rowBean

Definition at line 71 of file UserValueTypeSanitizerUtil.php.

sanitizeValue (   $value)

Given a value that is either a zurmo user id, a username, or an external system user id, resolve that the value is valid. If the value is not valid then an InvalidValueToSanitizeException is thrown.

Parameters
mixed$value
Returns
sanitized value
Exceptions
InvalidValueToSanitizeException

Definition at line 95 of file UserValueTypeSanitizerUtil.php.


The documentation for this class was generated from the following file:
Generated on Mon Aug 3 2020 07:11:07
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.