projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
all mkdir now recursive and with explicit permissions
[brisk.git]
/
web
/
Obj
/
dbase_base.phh
diff --git
a/web/Obj/dbase_base.phh
b/web/Obj/dbase_base.phh
index
2db3934
..
43b568d
100644
(file)
--- a/
web/Obj/dbase_base.phh
+++ b/
web/Obj/dbase_base.phh
@@
-39,39
+39,46
@@
class LoginDBItem {
$this->type = $type;
}
$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);
}
$rec->email, $rec->type);
return ($ret);
}
- function codeget()
+ function code
_
get()
{
return $this->code;
}
{
return $this->code;
}
- function loginget()
+ function login
_
get()
{
return $this->login;
}
{
return $this->login;
}
- function passget()
+ function pass
_
get()
{
return $this->pass;
}
{
return $this->pass;
}
- function emailget()
+ function email
_
get()
{
return $this->email;
}
{
return $this->email;
}
- function typeget()
+ function type
_
get()
{
return $this->type;
}
}
{
return $this->type;
}
}
+class LoginDBItemOld extends LoginDBItem {
+ function LoginDBItemOld($login, $pass, $email, $type)
+ {
+ parent::LoginDBItem(-1, $login, $pass, $email, $type);
+ }
+}
+
?>
\ No newline at end of file
?>
\ No newline at end of file