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

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

Definition at line 517 of file httpform.cxx.

References GetValue(), and SetValue().

  PString section, key;
  switch (SplitConfigKey(fullName, section, key)) {
    case 1 :
      SetValue(cfg.GetString(key, GetValue(TRUE)));
    case 2 :
      SetValue(cfg.GetString(section, key, GetValue(TRUE)));

Generated by  Doxygen 1.6.0   Back to index