PTLib
Version 2.10.4
|
#include <httpform.h>
Public Member Functions | |
PHTTPStringField (const char *name, PINDEX size, const char *initVal=NULL, const char *help=NULL) | |
PHTTPStringField (const char *name, const char *title, PINDEX size, const char *initVal=NULL, 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. | |
Protected Attributes | |
PString | value |
PString | initialValue |
PINDEX | size |
PHTTPStringField::PHTTPStringField | ( | const char * | name, |
PINDEX | size, | ||
const char * | initVal = NULL , |
||
const char * | help = NULL |
||
) |
PHTTPStringField::PHTTPStringField | ( | const char * | name, |
const char * | title, | ||
PINDEX | size, | ||
const char * | initVal = NULL , |
||
const char * | help = NULL |
||
) |
virtual void PHTTPStringField::GetHTMLTag | ( | PHTML & | html | ) | const [virtual] |
Convert the field to HTML form tag for inclusion into the HTTP page.
html | HTML to receive the field info. |
Implements PHTTPField.
Reimplemented in PHTTPPasswordField.
virtual PString PHTTPStringField::GetValue | ( | PBoolean | dflt = false | ) | const [virtual] |
Get the string value of the field.
Implements PHTTPField.
Reimplemented in PHTTPPasswordField.
virtual PHTTPField* PHTTPStringField::NewField | ( | ) | const [virtual] |
Create a new field of the same class as the current field.
Implements PHTTPField.
Reimplemented in PHTTPDateField, and PHTTPPasswordField.
virtual void PHTTPStringField::SetValue | ( | const PString & | newValue | ) | [virtual] |
Set the value of the field.
Implements PHTTPField.
Reimplemented in PHTTPDateField, and PHTTPPasswordField.
PString PHTTPStringField::initialValue [protected] |
PINDEX PHTTPStringField::size [protected] |
PString PHTTPStringField::value [protected] |