#include <httpform.h>
Inheritance diagram for PHTTPBooleanField:
Public Member Functions | |
PHTTPBooleanField (const char *name, BOOL initVal=FALSE, const char *help=NULL) | |
PHTTPBooleanField (const char *name, const char *title, BOOL initVal=FALSE, const char *help=NULL) | |
virtual PHTTPField * | NewField () const |
virtual void | GetHTMLTag (PHTML &html) const |
virtual PString | GetHTMLInput (const PString &input) const |
virtual PString | GetValue (BOOL dflt=FALSE) const |
virtual void | SetValue (const PString &newVal) |
virtual void | LoadFromConfig (PConfig &cfg) |
virtual void | SaveToConfig (PConfig &cfg) const |
Protected Attributes | |
BOOL | value |
BOOL | initialValue |
|
|
|
|
|
Convert the field input to HTML for inclusion into the HTTP page. Reimplemented from PHTTPField. |
|
Convert the field to HTML form tag for inclusion into the HTTP page. Implements PHTTPField. |
|
Get the string value of the field.
Implements PHTTPField. |
|
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 from PHTTPField. |
|
Create a new field of the same class as the current field.
Implements PHTTPField. |
|
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 from PHTTPField. |
|
Set the value of the field. Implements PHTTPField. |
|
|
|
|