ProductTemplateStatusSanitizerUtil Class Reference

Inheritance diagram for ProductTemplateStatusSanitizerUtil:

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  ) 
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.

mixed $value
sanitized value

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 Tue Nov 19 07:11:00 2019