FormField
|
+--DateField
|
+--BritishDateField
public class BritishDateField
extends DateField
Field Summary | |
---|---|
mixed | The date format used when displaying value of this date to the user. |
Fields inherited from FORMfields.fields.DateField | |
---|---|
dateFormat, day, endDateString, month, showCalendar, startDateString, subFieldDisplayValueSeparator, year |
Fields inherited from FORMfields.fields.FormField | |
---|---|
autoPropagate, data, disableEnterHandler, displayValuesOnNewLine, editable, enabled, endingString, enterTabHandler, enterTabs, error, extraHtml, fieldBelowLabel, formError, help, hidden, htmlify, id, isData, label, labelForId, multiValues, name, required, subFieldDisplayValueSeparator, subFieldSeparator, subFieldValueSeparator, subFields, subFieldsCannotBeEmpty, trimWhitespace, validators, value, valueIsHtml |
Method Summary | |
---|---|
string | Returns the HTML used to display the input portion of this field. |
Methods inherited from FORMfields.fields.DateField | |
---|---|
getCurrentDate, getDaysInMonth, getDisableFieldJs, getDisplayValue, getEditableFieldTag, getUnixTimestamp, getValue, isValid, setDate, setToCurrentDate, setValue |
public mixed $dateFormat = "j/n/Y"
The date format used when displaying value of this date to the user. See PHP's date function for all the supported formats.
public string getEditableFieldTag()
Returns the HTML used to display the input portion of this field.
BritishDateField a date field used to represent dates in British/European format DD/MM/YYYY.