Form_Field_Datetime __construct(
string
$name, [boolean
$required = false], [integer
$maxlength = 19], [string
$value = NULL]
)
|
|
Constructoe
Parameters:
|
string |
$name: |
Name of the field |
|
boolean |
$required: |
Is field required. Default is false |
|
integer |
$maxlength: |
Maximum length of the text. Default is 10 |
|
string |
$value: |
Default value. Must be valid date in YYYY-MM-DD format or 0000-00-00 |
Redefinition of:
- Form_Field_Text::__construct()
- Constructor
Checks for valid datetime
API Tags:
| Return: | Returns true if check passed |
| Internal: | |
| Access: | public |
Redefinition of:
- Form_Field_Text::basic_check()
- Performs basic check for validity