X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_base.phh;fp=web%2FObj%2Fdbase_base.phh;h=2db3934223415a8c9c33367f9db6d5eced697217;hb=e7958819c64c6a5aeb2ee568fe187d3f0389195f;hp=0000000000000000000000000000000000000000;hpb=8bb224a0ce40e72e2c3f1ae82957cd10e449c22b;p=brisk.git diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh new file mode 100644 index 0000000..2db3934 --- /dev/null +++ b/web/Obj/dbase_base.phh @@ -0,0 +1,77 @@ +code = $code; + $this->login = $login; + $this->pass = $pass; + $this->email = $email; + $this->type = $type; + } + + static function &LoginDBItemFromRecord($rec) + { + $ret = & new LoginDBItem($rec->code, $rec->login, $rec->pass, + $rec->email, $rec->type); + + return ($ret); + } + + function codeget() + { + return $this->code; + } + + function loginget() + { + return $this->login; + } + + function passget() + { + return $this->pass; + } + + function emailget() + { + return $this->email; + } + + function typeget() + { + return $this->type; + } + +} + +?> \ No newline at end of file