Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

MinimumLengthSanitizerUtil Class Reference

Inheritance diagram for MinimumLengthSanitizerUtil:
SanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Static Public Member Functions

static shouldNotSaveModelOnSanitizingValueFailure ()

Protected Member Functions

 assertMappingRuleDataIsValid ()
 getMinimumLength ()
 isAttributeRequired ()

Detailed Description

Sanitizer for resolving whether a value is too short based on an attribute's rules.

Definition at line 40 of file MinimumLengthSanitizerUtil.php.


Member Function Documentation

static shouldNotSaveModelOnSanitizingValueFailure (  )  [static]

If a model id value is invalid, then skip the entire row during import.

Reimplemented from SanitizerUtil.

Definition at line 45 of file MinimumLengthSanitizerUtil.php.

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

Definition at line 53 of file MinimumLengthSanitizerUtil.php.

sanitizeValue ( value  ) 

Given a value, resolve that the value not too large for the attribute based on the attribute's type. If the value is too large, then it is truncated.

Parameters:
mixed $value
Returns:
sanitized value
Exceptions:
InvalidValueToSanitizeException 

Reimplemented from SanitizerUtil.

Definition at line 80 of file MinimumLengthSanitizerUtil.php.

assertMappingRuleDataIsValid (  )  [protected]

Override as needed

Reimplemented from SanitizerUtil.

Definition at line 94 of file MinimumLengthSanitizerUtil.php.

getMinimumLength (  )  [protected]
Returns:
int|null minimum length

Definition at line 102 of file MinimumLengthSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:26 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8