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
DateSanitizerUtil Class Reference
Inheritance diagram for DateSanitizerUtil:
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 getAcceptableFormats ()
 
static getLinkedMappingRuleType ()
 
- Static Public Member Functions inherited from SanitizerUtil
static getType ()
 
static getLinkedMappingRuleType ()
 
static shouldNotSaveModelOnSanitizingValueFailure ()
 

Protected Member Functions

 assertMappingRuleDataIsValid ()
 
- 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 SanitizerUtil
 $modelClassName
 
 $attributeName
 
 $analysisMessages = array()
 
 $shouldSkipRow = false
 
 $columnName
 
 $columnMappingData = array()
 
 $mappingRuleData = array()
 
 $importSanitizeResultsUtil
 
 $penultimateModelClassName
 
 $penultimateAttributeName
 
 $explicitReadWriteModelPermissions = null
 

Detailed Description

Sanitizer for date type attributes.

Definition at line 40 of file DateSanitizerUtil.php.

Member Function Documentation

static getAcceptableFormats ( )
static
See Also
DateTimeParser

Definition at line 45 of file DateSanitizerUtil.php.

analyzeByRow ( RedBean_OODBBean  $rowBean)
Parameters
RedBean_OODBBean$rowBean

Definition at line 66 of file DateSanitizerUtil.php.

sanitizeValue (   $value)

Given a value, attempt to convert the value to a db date format based on the format provided. If the value does not convert properly, meaning the value is not really in the format specified, then a InvalidValueToSanitizeException will be thrown.

Parameters
mixed$value
Returns
sanitized value
Exceptions
InvalidValueToSanitizeException

Definition at line 84 of file DateSanitizerUtil.php.


The documentation for this class was generated from the following file:
Generated on Wed Dec 2 2020 07:10:41
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.