1 public function hasEMail() { 2 $sUsername = $this->oxuser__oxusername->value; 3 if (strcmp($sUsername, '@') >= 0) { 4 return true; 5 } 6 return false; 7 }