isEmailForUser() 정적인 공개 메소드

is an email of the user
static public isEmailForUser ( $users_id, $email ) : boolean
$users_id user ID
$email string email to check user ID
리턴 boolean is this email set for the user ?
예제 #1
0
 /**
  * Is the email set to the current user
  *
  * @param $email
  *
  * @return boolean is an email of the user
  **/
 function isEmail($email)
 {
     if (!isset($this->fields['id'])) {
         return false;
     }
     return UserEmail::isEmailForUser($this->fields['id'], $email);
 }