projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
schema updated and stat-day.php fixed
[brisk.git]
/
web
/
Obj
/
dbase_base.phh
diff --git
a/web/Obj/dbase_base.phh
b/web/Obj/dbase_base.phh
index
2db3934
..
3cb94d8
100644
(file)
--- a/
web/Obj/dbase_base.phh
+++ b/
web/Obj/dbase_base.phh
@@
-2,7
+2,7
@@
/*
* brisk - dbase_base.phh
*
/*
* 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
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
@@
-29,49
+29,64
@@
class LoginDBItem {
var $pass;
var $email;
var $type;
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)
+ 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);
return ($ret);
}
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;
}
+ function last_dona_get()
+ {
+ return $this->last_dona;
+ }
+
+ function supp_comp_get()
+ {
+ return $this->supp_comp;
+ }
+
}
?>
\ No newline at end of file
}
?>
\ No newline at end of file