rss Utility

utilityEncrypt

Provides a simple wrapper around mcrypt functions to perform encryption and decryption duties. This class is designed to use the Rijndael 256bit encryption scheme. To use other schemes, extend and replace the various methods. The key that is used sho... More »

Posted in Utility on 05 Aug 2010 @ 03:03


utilityStopWatch

A class for recording the time an event took place during a script execution. Useful for profiling or benchmarking long running scripts or to simply time the execution time between two points. Supports "split" times, where a split can be marked with... More »

Posted in Utility on 19 Nov 2009 @ 20:39


utilityTextFilter

to filter HTML text strings to remove dangerous tags. This class was created by Daniel Morris , with contributions from: Gianpaolo Racca, Ghislain Picard, Marco Wandschneider, Chris Tobin and Andrew Eddie. Changes made for Scorpio: Updated and correc... More »

Posted in Utility on 19 Nov 2009 @ 20:39


utilityValidator

Aggregates various validators and allows an array of data to be validated in one go. This is ideal for handling form data or data that is in an associative array of key => value pairs. The data to be validated needs to have a string key that identifi... More »

Posted in Utility on 19 Nov 2009 @ 20:39


utilityValidateAbstract

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

utilityValidateArray

Validates that a variable is an array. More »

Posted in Utility on 19 Nov 2009 @ 20:39


utilityValidateBoolean

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


utilityValidateDate

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


utilityValidateDateTime

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


utilityValidateEmailAddress

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

More »