Abstract supertype for validators. Implements the validate interface and provides additional methods and options for templated error messages and translation support. This class should be extended into the specific validate class. More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is an array. More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is a boolean, optionally can be set to validate only strict boolean values (false|true). Default is to compare against a list of representations of boolean values. More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable matches a date pattern and that it is a valid date. The pattern is a regular expression. This validator only handles the date component of a date/time. See also the utilityValidateTime and utilityValidateDateTime validators.... More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is composed of a valid date and time. This validator uses both utilityValidateDate and utilityValidateTime validators. All options supported by those validators can be used with dateTime. More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is a valid email address. This validator uses the PHP filter_var::VALIDATE_EMAIL with an additional check to catch cases such as m More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is equal to a preset value for example the entered Captcha code is the same as the stored captcha code. Note: this validator checks for a value not identity. To check if an object or array equals a value use utilityValidateI... More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is a float and optionally falls within a range. More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is identical (===) a preset value. This validator can be used with arrays and objects. Note: to check simply strings or numbers consider utilityValidateEqual or utilityValidateRegex. More »
Posted in Utility on 19 Nov 2009 @ 20:39
Validates that a variable is not empty, i.e. it has a value that can be considered as "empty": 0, "0", "", null, "null", false etc. are all considered to be "empty". More »
Posted in Utility on 19 Nov 2009 @ 20:39