#include <httpform.h>
Inheritance diagram for PHTTPFieldArray:
Public Member Functions | |
PHTTPFieldArray (PHTTPField *baseField, BOOL ordered, PINDEX fixedSize=0) | |
~PHTTPFieldArray () | |
virtual PHTTPField * | NewField () const |
virtual void | ExpandFieldNames (PString &text, PINDEX start, PINDEX &finish) const |
virtual void | GetHTMLTag (PHTML &html) const |
virtual void | LoadFromConfig (PConfig &cfg) |
virtual void | SaveToConfig (PConfig &cfg) const |
virtual void | SetAllValues (const PStringToString &data) |
virtual PINDEX | GetSize () const |
void | SetSize (PINDEX newSize) |
PStringArray | GetStrings (PConfig &cfg) |
void | SetStrings (PConfig &cfg, const PStringArray &values) |
Protected Member Functions | |
void | AddBlankField () |
void | AddArrayControlBox (PHTML &html, PINDEX fld) const |
void | SetArrayFieldName (PINDEX idx) const |
Protected Attributes | |
PHTTPField * | baseField |
BOOL | orderedArray |
BOOL | canAddElements |
|
|
|
|
|
|
|
|
|
Reimplemented from PHTTPCompositeField. |
|
Convert the field to HTML form tag for inclusion into the HTTP page. Reimplemented from PHTTPCompositeField. |
|
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.
Reimplemented from PHTTPCompositeField. |
|
|
|
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. |
|
Create a new field of the same class as the current field.
Reimplemented from PHTTPCompositeField. |
|
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. |
|
Set the value of the field in a list of fields. Reimplemented from PHTTPCompositeField. |
|
|
|
|
|
|
|
|
|
|
|
|