Inheritance diagram for Field:

All fields must implement this, although most will just inheirt from AbstractField so this really is just a formality
Definition at line 10 of file field.inc.php.
Public Member Functions | |
| __construct ($name, Form &$parentForm, array $attribs) | |
| Constructor. | |
| drawInput () | |
| Draw the HTML input for the field. | |
| getData () | |
| Get the value of the Field. | |
| validate () | |
| Validate the input of the form. | |
| getSqlImpl () | |
| Get an SQL representation of the field data. | |
| hasError () | |
| Check to see if the field has any errors. | |
| setData ($value) | |
| Set the field data to a passed value. | |
| getJs () | |
| Get any JavaScript that is needed by this field. | |
| getCss () | |
| Get any special CSS that is needed by the field. | |
| forceError () | |
| Force a field to have an error. | |
|
||||||||||||||||
|
Constructor.
Implemented in AbstractField, AbstractListField, AutoCompleteField, CheckboxField, CityStateZipField, CollectionField, ConditionalField, DateField, DateTimeField, EditorField, EmailField, GenderField, IpAddressField, NameField, PasswordChangeField, PhoneNumberField, SSNField, TimeField, and UsStateField. |
|
|
Draw the HTML input for the field.
Implemented in AutoCompleteField, ButtonField, CheckboxField, CheckboxListField, CollectionField, ConditionalField, DateField, EditorField, HiddenField, LabelField, MultiSelectField, PasswordField, PasswordChangeField, RadioField, RadioListField, SelectField, TextField, TextareaField, TimeField, and UploadField. |
|
|
Force a field to have an error.
Implemented in AbstractField. |
|
|
Get any special CSS that is needed by the field.
Implemented in AbstractField, CollectionField, and PasswordChangeField. |
|
|
Get the value of the Field.
Implemented in AbstractField, ButtonField, CollectionField, DateTimeField, IpAddressField, MultiSelectField, PasswordField, PasswordChangeField, PhoneNumberField, and SSNField. |
|
|
Get any JavaScript that is needed by this field.
Implemented in AbstractField, CollectionField, ConditionalField, and PasswordChangeField. |
|
|
Get an SQL representation of the field data.
Implemented in AbstractField, ButtonField, CheckboxListField, CityStateZipField, CollectionField, DateTimeField, IpAddressField, LabelField, NameField, PasswordField, PasswordChangeField, PhoneNumberField, and SSNField. |
|
|
Check to see if the field has any errors.
Implemented in AbstractField, ButtonField, and CollectionField. |
|
|
Set the field data to a passed value.
Implemented in AbstractField, CheckboxListField, DateTimeField, IpAddressField, MultiSelectField, PhoneNumberField, and SSNField. |
|
|
Validate the input of the form. This sets the form data from the $_REQUEST input, and runs any sort of validation routines needed Implemented in AbstractField, ButtonField, CheckboxField, CollectionField, IpAddressField, PasswordChangeField, SSNField, and UploadField. |
1.3.9.1