#include <httpform.h>
Inheritance diagram for PHTTPField:
Public Member Functions | |
PHTTPField (const char *bname, const char *title, const char *help) | |
virtual Comparison | Compare (const PObject &obj) const |
const PCaselessString & | GetName () const |
const PCaselessString & | GetBaseName () const |
virtual void | SetName (const PString &newName) |
virtual const PHTTPField * | LocateName (const PString &name) const |
const PString & | GetTitle () const |
const PString & | GetHelp () const |
void | SetHelp (const PString &text) |
void | SetHelp (const PString &hotLinkURL, const PString &linkText) |
void | SetHelp (const PString &hotLinkURL, const PString &imageURL, const PString &imageText) |
virtual PHTTPField * | NewField () const =0 |
virtual void | ExpandFieldNames (PString &text, PINDEX start, PINDEX &finish) const |
virtual void | GetHTMLTag (PHTML &html) const =0 |
virtual PString | GetHTMLInput (const PString &input) const |
virtual PString | GetHTMLSelect (const PString &selection) const |
virtual void | GetHTMLHeading (PHTML &html) const |
virtual PString | GetValue (BOOL dflt=FALSE) const =0 |
virtual void | SetValue (const PString &newValue)=0 |
virtual void | LoadFromConfig (PConfig &cfg) |
virtual void | SaveToConfig (PConfig &cfg) const |
virtual BOOL | Validated (const PString &newVal, PStringStream &msg) const |
virtual void | GetAllNames (PStringList &list) const |
virtual void | SetAllValues (const PStringToString &data) |
virtual BOOL | ValidateAll (const PStringToString &data, PStringStream &msg) const |
BOOL | NotYetInHTML () const |
void | SetInHTML () |
Protected Attributes | |
PCaselessString | baseName |
PCaselessString | fullName |
PString | title |
PString | help |
BOOL | notInHTML |
|
|
|
Compare the fields using the field names.
Reimplemented from PObject. |
|
Reimplemented in PHTTPCompositeField, and PHTTPFieldArray. |
|
Retrieve all the names in the field and subfields.
Reimplemented in PHTTPCompositeField. |
|
Get the identifier name of the field.
|
|
Get the title of the field.
|
|
Convert the field to HTML for inclusion into the HTTP page. Reimplemented in PHTTPCompositeField, and PHTTPSubForm. |
|
Convert the field input to HTML for inclusion into the HTTP page. Reimplemented in PHTTPCompositeField, PHTTPBooleanField, and PHTTPRadioField. |
|
Convert the field input to HTML for inclusion into the HTTP page. |
|
Convert the field to HTML form tag for inclusion into the HTTP page. Implemented in PHTTPCompositeField, PHTTPSubForm, PHTTPFieldArray, PHTTPStringField, PHTTPPasswordField, PHTTPIntegerField, PHTTPBooleanField, PHTTPRadioField, and PHTTPSelectField. |
|
Get the identifier name of the field.
|
|
Get the title of the field.
|
|
Get the string value of the field.
Implemented in PHTTPCompositeField, PHTTPStringField, PHTTPPasswordField, PHTTPIntegerField, PHTTPBooleanField, PHTTPRadioField, and PHTTPSelectField. |
|
Get the value of the PConfig to the sub-field. If the field is not composite then it always sets the value as for the non-indexed version. Reimplemented in PHTTPCompositeField, PHTTPFieldArray, PHTTPIntegerField, and PHTTPBooleanField. |
|
Locate the field naem, recusing down for composite fields.
Reimplemented in PHTTPCompositeField. |
|
Create a new field of the same class as the current field.
Implemented in PHTTPCompositeField, PHTTPSubForm, PHTTPFieldArray, PHTTPStringField, PHTTPPasswordField, PHTTPIntegerField, PHTTPBooleanField, PHTTPRadioField, and PHTTPSelectField. |
|
|
|
Set the value of the sub-field into the PConfig. If the field is not composite then it always sets the value as for the non-indexed version. Reimplemented in PHTTPCompositeField, PHTTPFieldArray, PHTTPIntegerField, and PHTTPBooleanField. |
|
Set the value of the field in a list of fields. Reimplemented in PHTTPCompositeField, and PHTTPFieldArray. |
|
|
|
|
|
|
|
|
|
Set the name for the field. Reimplemented in PHTTPCompositeField. |
|
Set the value of the field. Implemented in PHTTPCompositeField, PHTTPStringField, PHTTPPasswordField, PHTTPIntegerField, PHTTPBooleanField, PHTTPRadioField, and PHTTPSelectField. |
|
Validate the new field value in a list before #SetValue()# is called.
Reimplemented in PHTTPCompositeField. |
|
Validate the new field value before #SetValue()# is called.
Reimplemented in PHTTPIntegerField. |
|
|
|
|
|
|
|
|
|
|