TaskStatusSanitizerUtil Class Reference

Inheritance diagram for TaskStatusSanitizerUtil:
SanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Static Public Member Functions

static shouldNotSaveModelOnSanitizingValueFailure ()

Static Protected Member Functions

static getAcceptableValues ()

Detailed Description

Sanitizer for handling task status.

Definition at line 40 of file TaskStatusSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

Definition at line 45 of file TaskStatusSanitizerUtil.php.

static shouldNotSaveModelOnSanitizingValueFailure (  )  [static]

If a status value is missing or invalid, then skip the entire row during import.

Reimplemented from SanitizerUtil.

Definition at line 64 of file TaskStatusSanitizerUtil.php.

sanitizeValue ( value  ) 

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

Parameters:
mixed $value
Returns:
sanitized value
Exceptions:
InvalidValueToSanitizeException 

Reimplemented from SanitizerUtil.

Definition at line 76 of file TaskStatusSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Mar 28 07:10:29 2017