PHTTPFieldArray Class Reference
#include <httpform.h>
List of all members.
Constructor & Destructor Documentation
PHTTPFieldArray::PHTTPFieldArray |
( |
PHTTPField * |
baseField, |
|
|
BOOL |
ordered, |
|
|
PINDEX |
fixedSize = 0 | |
|
) |
| | |
PHTTPFieldArray::~PHTTPFieldArray |
( |
|
) |
|
Member Function Documentation
void PHTTPFieldArray::AddArrayControlBox |
( |
PHTML & |
html, |
|
|
PINDEX |
fld | |
|
) |
| | const [protected] |
void PHTTPFieldArray::AddBlankField |
( |
|
) |
[protected] |
virtual void PHTTPFieldArray::ExpandFieldNames |
( |
PString & |
text, |
|
|
PINDEX |
start, |
|
|
PINDEX & |
finish | |
|
) |
| | const [virtual] |
virtual void PHTTPFieldArray::GetHTMLTag |
( |
PHTML & |
html |
) |
const [virtual] |
Convert the field to HTML form tag for inclusion into the HTTP page.
Reimplemented from PHTTPCompositeField.
virtual PINDEX PHTTPFieldArray::GetSize |
( |
|
) |
const [virtual] |
Get the number of sub-fields in the composite field. Note that this is the total including any composite sub-fields, ie, it is the size of the whole tree of primitive fields.
- Returns:
- Returns field count.
Reimplemented from PHTTPCompositeField.
- Parameters:
-
| cfg | Config file to get strings from |
virtual void PHTTPFieldArray::LoadFromConfig |
( |
PConfig & |
cfg |
) |
[virtual] |
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 PHTTPCompositeField.
virtual PHTTPField* PHTTPFieldArray::NewField |
( |
|
) |
const [virtual] |
Create a new field of the same class as the current field.
- Returns:
- New field object instance.
Reimplemented from PHTTPCompositeField.
virtual void PHTTPFieldArray::SaveToConfig |
( |
PConfig & |
cfg |
) |
const [virtual] |
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 PHTTPCompositeField.
virtual void PHTTPFieldArray::SetAllValues |
( |
const PStringToString & |
data |
) |
[virtual] |
void PHTTPFieldArray::SetArrayFieldName |
( |
PINDEX |
idx |
) |
const [protected] |
void PHTTPFieldArray::SetSize |
( |
PINDEX |
newSize |
) |
|
void PHTTPFieldArray::SetStrings |
( |
PConfig & |
cfg, |
|
|
const PStringArray & |
values | |
|
) |
| | |
- Parameters:
-
| cfg | Config file to Set strings to |
| values | Strings to set |
Member Data Documentation
The documentation for this class was generated from the following file: