This object holds the basic functionality and calls the private methods located in its specialized fitlter.


Methods

sanitize (value)

If the validate method was unsuccessful the system will try to sanatize the value.

Parameters

Name Type Description
value * The value to sanatize.

Returned Value

: The sanatized value.


validate (value)

The public validate method will call the private method of the specialized filter object.

Parameters

Name Type Description
value * The value to validate.

Returned Value

Boolean: A boolean showing if the validate was successful or not.