X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_base.phh;h=2464f8181588766f4da9c72fc0e6c5e0023d11e5;hb=f4178d38662a52ae2ccc8957e499621e735f4d16;hp=2db3934223415a8c9c33367f9db6d5eced697217;hpb=e7958819c64c6a5aeb2ee568fe187d3f0389195f;p=brisk.git diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh index 2db3934..2464f81 100644 --- a/web/Obj/dbase_base.phh +++ b/web/Obj/dbase_base.phh @@ -2,7 +2,7 @@ /* * brisk - dbase_base.phh * - * Copyright (C) 2011 Matteo Nastasi + * Copyright (C) 2011-2012 Matteo Nastasi * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it @@ -29,49 +29,78 @@ class LoginDBItem { var $pass; var $email; var $type; + var $last_dona; + var $supp_comp; + var $lice_vers; + var $disa_reas; - function LoginDBItem($code, $login, $pass, $email, $type) + function LoginDBItem($code, $login, $pass, $email, $type, $last_dona, $supp_comp, $lice_vers, $disa_reas) { - $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; + $this->lice_vers = $lice_vers; + $this->disa_reas = $disa_reas; } - static function &LoginDBItemFromRecord($rec) + static function LoginDBItemFromRecord($rec) { - $ret = & new LoginDBItem($rec->code, $rec->login, $rec->pass, - $rec->email, $rec->type); + $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); return ($ret); } - function codeget() + function code_get() { return $this->code; } - function loginget() + function login_get() { return $this->login; } - function passget() + function pass_get() { return $this->pass; } - function emailget() + function email_get() { return $this->email; } - function typeget() + 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; + } + + function disa_reas_get() + { + return $this->disa_reas; + } + } ?> \ No newline at end of file