AnewtValidatorDate Class Reference

Validator for dates. More...

List of all members.

Public Member Functions

 is_valid ($value)
 Checks for validity.


Detailed Description

Validator for dates.

This validator only accepts valid dates in YYYY-MM-DD format.

Definition at line 16 of file date.lib.php.


Member Function Documentation

AnewtValidatorDate::is_valid ( value  ) 

Checks for validity.

The return value should be true for valid values, and false otherwise.

Parameters:
$value The value to check for validity.
Returns:
True if the value is valid, false otherwise.

Reimplemented from AnewtValidator.

Definition at line 18 of file date.lib.php.


The documentation for this class was generated from the following file:

Generated on Sun Aug 2 22:54:38 2009 for Anewt by  doxygen 1.5.9