X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_base.phh;h=d5873525263562052cf4e9d453504bc50e883a5d;hb=42fe80f6f6e6d31736eb2a76420ce4c2015b39c6;hp=938a277841d570fee7e4e08a488688b77e0ffaf5;hpb=59ef2095b7a6fb0b57302ceb84830c81794e94a5;p=brisk.git diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh index 938a277..d587352 100644 --- a/web/Obj/dbase_base.phh +++ b/web/Obj/dbase_base.phh @@ -31,10 +31,11 @@ class LoginDBItem { var $type; var $last_dona; var $supp_comp; - var $lice_vers; + var $tos_vers; var $disa_reas; + var $guar_code; - function LoginDBItem($code, $login, $pass, $email, $type, $last_dona, $supp_comp, $lice_vers, $disa_reas) + function LoginDBItem($code, $login, $pass, $email, $type, $last_dona, $supp_comp, $tos_vers, $disa_reas, $guar_code) { $this->code = $code; $this->login = $login; @@ -43,15 +44,16 @@ class LoginDBItem { $this->type = $type; $this->last_dona = $last_dona; $this->supp_comp = $supp_comp; - $this->lice_vers = $lice_vers; + $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->last_dona, - $rec->supp_comp, $rec->lice_vers, $rec->disa_reas); + $rec->supp_comp, $rec->tos_vers, $rec->disa_reas, $rec->guar_code); return ($ret); } @@ -95,13 +97,13 @@ class LoginDBItem { $this->supp_comp = $supp_comp; } - function lice_vers_get() + function tos_vers_get() { - return $this->lice_vers; + return $this->tos_vers; } - function lice_vers_set($lice_vers) + function tos_vers_set($tos_vers) { - $this->lice_vers = $lice_vers; + $this->tos_vers = $tos_vers; } function disa_reas_get() @@ -112,6 +114,10 @@ class LoginDBItem { { $this->disa_reas = $disa_reas; } + function guar_code_get() + { + return $this->guar_code; + } }