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

void PHTTPField::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.

Definition at line 530 of file httpform.cxx.

References GetValue().

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


Generated by  Doxygen 1.6.0   Back to index