code = $code; $this->login = $login; $this->pass = $pass; $this->email = $email; $this->type = $type; $this->last_dona = $last_dona; $this->supp_comp = $supp_comp; } static function LoginDBItemFromRecord($rec) { $ret = new LoginDBItem($rec->code, $rec->login, $rec->pass, $rec->email, $rec->type, $rec->last_dona, $rec->supp_comp); 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; } } ?>