FormField
|
+--SubmitField
|
+--ImageField
public class ImageField
extends SubmitField
Field Summary | |
---|---|
mixed | The URL to the image. |
Fields inherited from FORMfields.fields.SubmitField | |
---|---|
buttonListeners, data |
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 |
Constructor Summary | |
---|---|
ImageField(string name, mixed image, string label) Creates a new ImageField. |
|
__construct(string name, mixed image, string label) Creates a new ImageField. |
Method Summary | |
---|---|
string | getEditableFieldTag(mixed printId) Returns the HTML used to display the input portion of this field. |
void | Retrieves the posted field value. |
Methods inherited from FORMfields.fields.SubmitField | |
---|---|
addButtonListener, getButtonClicked, getDisplayFieldTag, getEditableFieldTag |
public mixed $image = null
The URL to the image.
public ImageField(string name, mixed image, string label)
Creates a new ImageField.
public __construct(string name, mixed image, string label)
Creates a new ImageField.
public string getEditableFieldTag(mixed printId)
Returns the HTML used to display the input portion of this field.
public void getParameter()
Retrieves the posted field value. In other words, sets this field value using the appropriate value(s) in $_REQUEST.
ImageField turns an image into a submit button.