| Cts_Validate | |
| Author | Jaybill McCarthy |
| License | http://communit.as/docs/license |
| Static Methods | |
| checkLength | Validates the length of a string. |
| checkEmail | Validates an email address string. |
static function checkLength( $var, $min, $max )
Validates the length of a string. Uses Zend_Validate_StringLength.
| var | The string to validate. |
| min | The minimum number of characters for a valid string. |
| max | The maximum number of characters for a valid string. |
A boolean indicating whether the string is valid (true) or not (false).
Validates the length of a string.
static function checkLength( $var, $min, $max )
Validates an email address string.
static function checkEmail( $var )