コード例 #1
0
ファイル: TpDb.php プロジェクト: JeffersonFSilva/turbophp
 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);
                 }
             }
         }
     }
 }