Example #1
0
 public function &create($email)
 {
     $email = trim(strtolower($email));
     $user = new User($this->System);
     $hash = $this->emailToHash($email);
     $user->createFromEmail($email);
     $this->ids[$user->id] =& $user;
     $this->hashes[$hash] =& $this->ids[$user->id];
     return $this->ids[$user->id];
 }