UserLocaleSanitizerUtil Class Reference

Inheritance diagram for UserLocaleSanitizerUtil:
SanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)
 shouldSanitizeValue ()

Static Public Member Functions

static getLinkedMappingRuleType ()

Static Protected Member Functions

static getAcceptableValues ()

Detailed Description

Sanitizer for handling user locale.

Definition at line 40 of file UserLocaleSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

Definition at line 45 of file UserLocaleSanitizerUtil.php.

static getLinkedMappingRuleType (  )  [static]
Returns:
string - the type of linked mapping rule or null if none available. Some sanitizers and data analyzers need information from a mapping rule form in order to perform their job. This method returns the type of mapping rule form.

Reimplemented from SanitizerUtil.

Definition at line 61 of file UserLocaleSanitizerUtil.php.

sanitizeValue ( value  ) 

Sanitize a value, returning a sanitized value either as the same cast or different cast. This is the final step for importing a row, this method is called as the value from the import column for a row is ready to be populated into a model to save. This method can also be called in a chain of sanitizers based on what sanitizers are set for a given attribute import rule. depending on the circumstances.

Parameters:
mixed $value

Reimplemented from SanitizerUtil.

Definition at line 66 of file UserLocaleSanitizerUtil.php.


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