projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove 3 maincheck arguments because after sac-a-push they are attributes of the...
[brisk.git]
/
web
/
Obj
/
dbase_base.phh
diff --git
a/web/Obj/dbase_base.phh
b/web/Obj/dbase_base.phh
index
83d49e6
..
d8bc1d7
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,20
+29,27
@@
class LoginDBItem {
var $pass;
var $email;
var $type;
var $pass;
var $email;
var $type;
+ var $last_dona;
+ var $supp_comp;
+ var $lice_vers;
- function LoginDBItem($code, $login, $pass, $email, $type)
+ function LoginDBItem($code, $login, $pass, $email, $type
, $last_dona, $supp_comp, $lice_vers
)
{
{
- $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;
}
}
- 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, $ret->lice_vers);
return ($ret);
}
return ($ret);
}
@@
-72,13
+79,21
@@
class LoginDBItem {
return $this->type;
}
return $this->type;
}
-}
+ function last_dona_get()
+ {
+ return $this->last_dona;
+ }
-class LoginDBItemOld extends LoginDBItem {
- function LoginDBItemOld($login, $pass, $email, $type)
+ function supp_comp_get()
{
{
-
parent::LoginDBItem(-1, $login, $pass, $email, $type)
;
+
return $this->supp_comp
;
}
}
+
+ function lice_vers_get()
+ {
+ return $this->lice_vers;
+ }
+
}
?>
\ No newline at end of file
}
?>
\ No newline at end of file