public function setPassword($password) { $hash = new Knowledgeroot_Password($password); $this->passwordHash = $hash->getHash(); }