function StoreAttr($inName, $inValue) { if ($inName == 'tphost') { $this->Host = $inValue; } else { if ($inName == 'tpuser') { $this->UserName = $inValue; } else { if ($inName == 'tppassword') { $this->Password = $inValue; } else { if ($inName == 'tpdatabase') { $this->Database = $inValue; } else { parent::StoreAttr($inName, $inValue); } } } } }