ProductTemplateStatusSanitizerUtil Class Reference

Inheritance diagram for ProductTemplateStatusSanitizerUtil:
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 product template status.

Definition at line 40 of file ProductTemplateStatusSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

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


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