ProjectStatusSanitizerUtil Class Reference

Inheritance diagram for ProjectStatusSanitizerUtil:
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 project status.

Definition at line 40 of file ProjectStatusSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

Definition at line 45 of file ProjectStatusSanitizerUtil.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 ProjectStatusSanitizerUtil.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 ProjectStatusSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Nov 22 07:10:28 2017