
Public Member Functions | |
| clean ($value) | |
Public Attributes | |
| $widget = 'Pluf_Form_Widget_DatetimeInput' | |
| $input_formats | |
| Pluf_Form_Field_Datetime::clean | ( | $ | value | ) |
Validate some possible input for the field.
| mixed | Value to clean. |
Reimplemented from Pluf_Form_Field.
| Pluf_Form_Field_Datetime::$widget = 'Pluf_Form_Widget_DatetimeInput' |
Widget. The way to "present" the field to the user.
Reimplemented from Pluf_Form_Field.
| Pluf_Form_Field_Datetime::$input_formats |
Initial value:
array(
'%Y-%m-%d %H:%M:%S', // '2006-10-25 14:30:59'
'%Y-%m-%d %H:%M', // '2006-10-25 14:30'
'%Y-%m-%d', // '2006-10-25'
'%m/%d/%Y %H:%M:%S', // '10/25/2006 14:30:59'
'%m/%d/%Y %H:%M', // '10/25/2006 14:30'
'%m/%d/%Y', // '10/25/2006'
'%m/%d/%y %H:%M:%S', // '10/25/06 14:30:59'
'%m/%d/%y %H:%M', // '10/25/06 14:30'
'%m/%d/%y', // '10/25/06'
)