code = $code; $this->login = $login; $this->pass = $pass; $this->email = $email; $this->type = $type; } static function &LoginDBItemFromRecord($rec) { $ret = & new LoginDBItem($rec->code, $rec->login, $rec->pass, $rec->email, $rec->type); return ($ret); } function codeget() { return $this->code; } function loginget() { return $this->login; } function passget() { return $this->pass; } function emailget() { return $this->email; } function typeget() { return $this->type; } } ?>