示例#1
0
 function changeEmail($sEmail)
 {
     if ($this->exists()) {
         AnwUsers::changeUserEmail($this, $sEmail);
         $this->sEmail = $sEmail;
     } else {
         throw new AnwUserNotFoundException();
     }
 }