Ejemplo n.º 1
0
 private function getUserType($selectResult)
 {
     $UserType = new UserType();
     $count = 0;
     while ($list = mysqli_fetch_assoc($selectResult)) {
         $UserType->setUserTypeId($list['utp_usertype_id']);
         $UserType->setUserTypeName($list['utp_type_name']);
     }
     // while
     return $UserType;
 }