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

TruncateSanitizerUtil Class Reference

Inheritance diagram for TruncateSanitizerUtil:
SanitizerUtil TextAreaTruncateSanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Protected Member Functions

 assertMappingRuleDataIsValid ()
 getMaximumLength ()

Detailed Description

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

Definition at line 40 of file TruncateSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

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

Reimplemented from SanitizerUtil.

Definition at line 62 of file TruncateSanitizerUtil.php.

assertMappingRuleDataIsValid (  )  [protected]

Override as needed

Reimplemented from SanitizerUtil.

Definition at line 77 of file TruncateSanitizerUtil.php.

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

Reimplemented in TextAreaTruncateSanitizerUtil.

Definition at line 85 of file TruncateSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jan 19 07:10:28 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