PHTTPPasswordField Class Reference

#include <httpform.h>

Inheritance diagram for PHTTPPasswordField:

PHTTPStringField PHTTPField PObject List of all members.

Public Member Functions

 PHTTPPasswordField (const char *name, PINDEX size, const char *initVal=NULL, const char *help=NULL)
 PHTTPPasswordField (const char *name, const char *title, PINDEX size, const char *initVal=NULL, const char *help=NULL)
virtual PHTTPFieldNewField () const
virtual void GetHTMLTag (PHTML &html) const
virtual PString GetValue (BOOL dflt=FALSE) const
virtual void SetValue (const PString &newVal)

Static Public Member Functions

static PString Decrypt (const PString &pword)

Constructor & Destructor Documentation

PHTTPPasswordField::PHTTPPasswordField ( const char *  name,
PINDEX  size,
const char *  initVal = NULL,
const char *  help = NULL 
)

PHTTPPasswordField::PHTTPPasswordField ( const char *  name,
const char *  title,
PINDEX  size,
const char *  initVal = NULL,
const char *  help = NULL 
)


Member Function Documentation

virtual PHTTPField* PHTTPPasswordField::NewField (  )  const [virtual]

Create a new field of the same class as the current field.

Returns:
New field object instance.

Reimplemented from PHTTPStringField.

virtual void PHTTPPasswordField::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.

Reimplemented from PHTTPStringField.

virtual PString PHTTPPasswordField::GetValue ( BOOL  dflt = FALSE  )  const [virtual]

Get the string value of the field.

Returns:
String for field value.

Reimplemented from PHTTPStringField.

virtual void PHTTPPasswordField::SetValue ( const PString newVal  )  [virtual]

Set the value of the field.

Reimplemented from PHTTPStringField.

static PString PHTTPPasswordField::Decrypt ( const PString pword  )  [static]


The documentation for this class was generated from the following file:
Generated on Fri Mar 7 06:25:06 2008 for PTLib by  doxygen 1.5.1