#include <httpform.h>
List of all members.
Public Member Functions |
| | PHTTPSelectField (const char *name, const PStringArray &valueArray, PINDEX initVal=0, const char *help=NULL) |
| | PHTTPSelectField (const char *name, PINDEX count, const char *const *valueStrings, PINDEX initVal=0, const char *help=NULL) |
| | PHTTPSelectField (const char *name, const char *title, const PStringArray &valueArray, PINDEX initVal=0, const char *help=NULL) |
| | PHTTPSelectField (const char *name, const char *title, PINDEX count, const char *const *valueStrings, PINDEX initVal=0, const char *help=NULL) |
| virtual PHTTPField * | NewField () const |
| | Create a new field of the same class as the current field.
|
| virtual void | GetHTMLTag (PHTML &html) const |
| | Convert the field to HTML form tag for inclusion into the HTTP page.
|
| virtual PString | GetValue (PBoolean dflt=false) const |
| | Get the string value of the field.
|
| virtual void | SetValue (const PString &newVal) |
| | Set the value of the field.
|
Public Attributes |
| PStringArray | values |
Protected Attributes |
| PString | value |
| PINDEX | initialValue |
Constructor & Destructor Documentation
| PHTTPSelectField::PHTTPSelectField |
( |
const char * |
name, |
|
|
const PStringArray & |
valueArray, |
|
|
PINDEX |
initVal = 0, |
|
|
const char * |
help = NULL |
|
) |
| |
| PHTTPSelectField::PHTTPSelectField |
( |
const char * |
name, |
|
|
PINDEX |
count, |
|
|
const char *const * |
valueStrings, |
|
|
PINDEX |
initVal = 0, |
|
|
const char * |
help = NULL |
|
) |
| |
| PHTTPSelectField::PHTTPSelectField |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
const PStringArray & |
valueArray, |
|
|
PINDEX |
initVal = 0, |
|
|
const char * |
help = NULL |
|
) |
| |
| PHTTPSelectField::PHTTPSelectField |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
PINDEX |
count, |
|
|
const char *const * |
valueStrings, |
|
|
PINDEX |
initVal = 0, |
|
|
const char * |
help = NULL |
|
) |
| |
Member Function Documentation
| virtual void PHTTPSelectField::GetHTMLTag |
( |
PHTML & |
html | ) |
const [virtual] |
Convert the field to HTML form tag for inclusion into the HTTP page.
- Parameters:
-
| html | HTML to receive the field info. |
Implements PHTTPField.
| virtual PString PHTTPSelectField::GetValue |
( |
PBoolean |
dflt = false | ) |
const [virtual] |
Get the string value of the field.
- Returns:
- String for field value.
Implements PHTTPField.
| virtual PHTTPField* PHTTPSelectField::NewField |
( |
| ) |
const [virtual] |
Create a new field of the same class as the current field.
- Returns:
- New field object instance.
Implements PHTTPField.
| virtual void PHTTPSelectField::SetValue |
( |
const PString & |
newValue | ) |
[virtual] |
Set the value of the field.
Implements PHTTPField.
Member Data Documentation
The documentation for this class was generated from the following file: