code = $code; $this->login = $login; $this->pass = $pass; $this->email = $email; $this->type = $type; $this->last_dona = $last_dona; $this->supp_comp = $supp_comp; $this->lice_vers = $lice_vers; } static function LoginDBItemFromRecord($rec) { $ret = new LoginDBItem($rec->code, $rec->login, $rec->pass, $rec->email, $rec->type, $rec->last_dona, $rec->supp_comp, $ret->lice_vers); return ($ret); } function code_get() { return $this->code; } function login_get() { return $this->login; } function pass_get() { return $this->pass; } function email_get() { return $this->email; } function type_get() { return $this->type; } function last_dona_get() { return $this->last_dona; } function supp_comp_get() { return $this->supp_comp; } function lice_vers_get() { return $this->lice_vers; } } ?>