getNickname().$this->getFirstName()); $this->setSalt($salt); $this->setSha1Password(sha1($salt.$password)); } public function setPassword2($password) { if($password!='') $this->setPassword($password); } public function getFullName() { return $this->getFirstName()." ".$this->getLastName(); } public function __toString() { return $this->getNickname(); } }