예제 #1
0
 /**
  * Kiem tra thong tin dang nhap cua user 
  * @param $user: bao gom cac du lieu ma nguoi dng dang ki: email, last name, first name, password
  * @return null: khong ton tai  user.
  *		   array: id va user name
  **/
 function authenticate($user)
 {
     return $result = UserFacade::checkLogin($user);
 }