
Public Member Functions | |
| clean ($value) | |
Public Attributes | |
| $widget = 'Pluf_Form_Widget_TextInput' | |
| $input_formats | |
| Pluf_Form_Field_Date::clean | ( | $ | value | ) |
Validate some possible input for the field.
| mixed | Value to clean. |
Reimplemented from Pluf_Form_Field.
| Pluf_Form_Field_Date::$widget = 'Pluf_Form_Widget_TextInput' |
Widget. The way to "present" the field to the user.
Reimplemented from Pluf_Form_Field.
| Pluf_Form_Field_Date::$input_formats |
Initial value:
array(
'%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', // 2006-10-25, 10/25/2006, 10/25/06
'%b %d %Y', '%b %d, %Y', // 'Oct 25 2006', 'Oct 25, 2006'
'%d %b %Y', '%d %b, %Y', // '25 Oct 2006', '25 Oct, 2006'
'%B %d %Y', '%B %d, %Y', // 'October 25 2006', 'October 25, 2006'
'%d %B %Y', '%d %B, %Y', // '25 October 2006', '25 October, 2006'
)