#include <httpform.h>
Inheritance diagram for PHTTPConfig:
Public Member Functions | |
PHTTPConfig (const PURL &url, const PString §ion) | |
PHTTPConfig (const PURL &url, const PString §ion, const PHTTPAuthority &auth) | |
PHTTPConfig (const PURL &url, const PString §ion, const PString &html) | |
PHTTPConfig (const PURL &url, const PString §ion, const PString &html, const PHTTPAuthority &auth) | |
virtual void | OnLoadedText (PHTTPRequest &request, PString &text) |
virtual BOOL | Post (PHTTPRequest &request, const PStringToString &data, PHTML &replyMessage) |
void | LoadFromConfig () |
const PString & | GetConfigSection () const |
void | SetConfigSection (const PString §) |
PHTTPField * | AddSectionField (PHTTPField *sectionFld, const char *prefix=NULL, const char *suffix=NULL) |
void | AddNewKeyFields (PHTTPField *keyFld, PHTTPField *valFld) |
Protected Attributes | |
PString | section |
PString | sectionPrefix |
PString | sectionSuffix |
PHTTPField * | sectionField |
PHTTPField * | keyField |
PHTTPField * | valField |
|
|
|
|
|
|
|
|
|
Add fields to the HTTP form for adding a new key to the config file section. |
|
Add a field that will determine the name opf the secontion into which the other fields are to be added as keys. The section is not created and and error generated if the section already exists. |
|
Get the configuration file section that the page will alter.
|
|
Load all of the values for the resource from the configuration. |
|
This is called after the text has been loaded and may be used to customise or otherwise mangle a loaded piece of text. Typically this is used with HTML responses. The default action for this function is to do nothing. Reimplemented from PHTTPForm. Reimplemented in PConfigPage, and PRegisterPage. |
|
Get a block of data (eg HTML) that the resource contains. The default action for this function is to do nothing and return success.
Reimplemented from PHTTPForm. Reimplemented in PConfigPage, and PRegisterPage. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|