\DOBField
Synopsis
class DOBField
extends DateField
{
- // members
- protected static string $source_file_location = "mysite/thirdparty/formfields/dob/";
- protected integer $minimumAgeInYears = 5;
- protected integer $maximumAgeInYears = 150;
- protected static string $date_not_valid_error = "Please enter a valid date of birth (DD-MM-YYYY, e.g. 01-10-1921).";
- protected static string $too_young_error = "Sorry, you are too young.";
- protected static string $too_old_error = "Sorry, you are too old.";
- // methods
- public static void get_source_file_location()
- public static void set_source_file_location()
- public static void set_date_not_valid_error()
- public static void set_too_young_error()
- public static void set_too_old_error()
- public void setValue()
- public void Field()
- public void validate()
- public void setMinimumAge()
- public void setMaximumAge()
Hierarchy
Extends
- DateField
Members
protected
- $date_not_valid_error
- $maximumAgeInYears
- $minimumAgeInYears
- $source_file_location
- $too_old_error
- $too_young_error