Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PHTTPField::SaveToConfig ( PConfig &  cfg ) const [virtual, inherited]

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 in PHTTPCompositeField, PHTTPFieldArray, PHTTPIntegerField, and PHTTPBooleanField.

Definition at line 530 of file httpform.cxx.

References PHTTPField::GetValue().

Referenced by PHTTPConfig::Post().

{
  PString section, key;
  switch (SplitConfigKey(fullName, section, key)) {
    case 1 :
      cfg.SetString(key, GetValue());
      break;
    case 2 :
      cfg.SetString(section, key, GetValue());
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index