X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_base.phh;h=d567418c4847c88496a1ec99ee7f4d88a1a1a15f;hb=4a2bbbc1fee0ffb152eba1ef5587f07cee4250a1;hp=097e6771f1b2469ab317a73ac22ce0156f91d03e;hpb=1e77a6539b5df73e362c36c11df1b0e3696c1647;p=brisk.git diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh index 097e677..d567418 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 @@ -39,35 +39,35 @@ class LoginDBItem { $this->type = $type; } - static function &LoginDBItemFromRecord($rec) + static function LoginDBItemFromRecord($rec) { - $ret = & new LoginDBItem($rec->code, $rec->login, $rec->pass, + $ret = new LoginDBItem($rec->code, $rec->login, $rec->pass, $rec->email, $rec->type); 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; }