コード例 #1
0
 private function getReset($selectResult)
 {
     $pwdreset = new ResetPassword();
     $count = 0;
     while ($list = mysqli_fetch_assoc($selectResult)) {
         $pwdreset->setResetId($list['id']);
         $pwdreset->setResetCode($list['reset_code']);
         $pwdreset->setResetUser($list['user_id']);
         $pwdreset->setResetDate($list['date']);
         $pwdreset->setResetRequest($list['requested']);
     }
     return $pwdreset;
 }