UrlSanitizerUtil Class Reference

Inheritance diagram for UrlSanitizerUtil:
SanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Protected Member Functions

 assertMappingRuleDataIsValid ()
 resolveValidatedUrl ($url)

Detailed Description

Sanitizer for attributes that are urls.

Definition at line 40 of file UrlSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

Definition at line 45 of file UrlSanitizerUtil.php.

sanitizeValue ( value  ) 

Given a value, resolve that the value is a correctly formatted url. If not, an InvalidValueToSanitizeException is thrown.

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

Reimplemented from SanitizerUtil.

Definition at line 73 of file UrlSanitizerUtil.php.

assertMappingRuleDataIsValid (  )  [protected]

Override as needed

Reimplemented from SanitizerUtil.

Definition at line 91 of file UrlSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 25 07:10:31 2017