AnewtValidatorDate class

Validator for dates.

Class Overview

Validator for dates.

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

Public Methods

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.

Return value

True if the value is valid, false otherwise.

Inheritance

Base Classes

Inherited members