UserLanguageSanitizerUtil Class Reference

Inheritance diagram for UserLanguageSanitizerUtil:
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 language.

Definition at line 40 of file UserLanguageSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

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


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 24 07:10:30 2017