X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_base.phh;h=3cb94d813715c815907da3b51e5ea05df0060042;hb=645d558d0d1411fc2c1f33c95b2783e1b0ae3e06;hp=d82de62c8cb10c39c691523090a712b650b1fcdf;hpb=22b71dd0fd76bf5af565d56c3e82ea77b4b44bc5;p=brisk.git diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh index d82de62..3cb94d8 100644 --- a/web/Obj/dbase_base.phh +++ b/web/Obj/dbase_base.phh @@ -29,20 +29,25 @@ class LoginDBItem { var $pass; var $email; var $type; + var $last_dona; + var $supp_comp; - function LoginDBItem($code, $login, $pass, $email, $type) + function LoginDBItem($code, $login, $pass, $email, $type, $last_dona, $supp_comp) { - $this->code = $code; - $this->login = $login; - $this->pass = $pass; - $this->email = $email; - $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; } 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); return ($ret); } @@ -72,6 +77,16 @@ class LoginDBItem { return $this->type; } + function last_dona_get() + { + return $this->last_dona; + } + + function supp_comp_get() + { + return $this->supp_comp; + } + } ?> \ No newline at end of file