FormField
|
+--HeaderField
public class HeaderField
extends FormField
Field Summary | |
---|---|
mixed | False since this field should not be considered data and the field value should not be read from a database and written to a database. |
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 | |
---|---|
HeaderField(string name, string label) Creates a new HeaderField. |
|
__construct(string name, string label) Creates a new HeaderField. |
Method Summary | |
---|---|
string | getDisplayFieldTag(string cssClass, boolean displayHelp) Returns the HTML used to draw the display field. |
string | Returns the HTML used to draw the edit field. |
string | Returns the HTML to display this field. |
public mixed $data = false
False since this field should not be considered data and the field value should not be read from a database and written to a database.
public HeaderField(string name, string label)
Creates a new HeaderField.
public __construct(string name, string label)
Creates a new HeaderField.
public string getDisplayFieldTag(string cssClass, boolean displayHelp)
Returns the HTML used to draw the display field.
public string getEditableFieldTag()
Returns the HTML used to draw the edit field.
public string getFieldTag()
Returns the HTML to display this field.
HeaderField is a field that displays a header or title section across the label and field columns of your form. This field is often used to split up a form into several different sections.