X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_base.phh;h=d5873525263562052cf4e9d453504bc50e883a5d;hb=6acb2dcb00c9add71c78be1e9b5b42d75cf2379a;hp=345b06f49f947e8a74486a23949c6bb81a89526d;hpb=3dc6d58fd477565017745b33c752232166a0b508;p=brisk.git diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh index 345b06f..d587352 100644 --- a/web/Obj/dbase_base.phh +++ b/web/Obj/dbase_base.phh @@ -29,21 +29,31 @@ class LoginDBItem { var $pass; var $email; var $type; + var $last_dona; + var $supp_comp; + var $tos_vers; + var $disa_reas; + var $guar_code; - function LoginDBItem($code, $login, $pass, $email, $type) + function LoginDBItem($code, $login, $pass, $email, $type, $last_dona, $supp_comp, $tos_vers, $disa_reas, $guar_code) { - $this->code = $code; - $this->login = $login; - $this->pass = $pass; - $this->email = $email; - fprintf(STDERR, "QQ: %s: %x\n", __FUNCTION__, $type); - $this->type = $type; + $this->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->tos_vers = $tos_vers; + $this->disa_reas = $disa_reas; + $this->guar_code = $guar_code; } static function LoginDBItemFromRecord($rec) { $ret = new LoginDBItem($rec->code, $rec->login, $rec->pass, - $rec->email, $rec->type); + $rec->email, $rec->type, $rec->last_dona, + $rec->supp_comp, $rec->tos_vers, $rec->disa_reas, $rec->guar_code); return ($ret); } @@ -70,10 +80,45 @@ class LoginDBItem { function type_get() { - fprintf(STDERR, "TYPE GET: %d\n", $this->type); return $this->type; } + function last_dona_get() + { + return $this->last_dona; + } + + function supp_comp_get() + { + return $this->supp_comp; + } + function supp_comp_set($supp_comp) + { + $this->supp_comp = $supp_comp; + } + + function tos_vers_get() + { + return $this->tos_vers; + } + function tos_vers_set($tos_vers) + { + $this->tos_vers = $tos_vers; + } + + function disa_reas_get() + { + return $this->disa_reas; + } + function disa_reas_set($disa_reas) + { + $this->disa_reas = $disa_reas; + } + function guar_code_get() + { + return $this->guar_code; + } + } ?> \ No newline at end of file