first step of the preferences management
[brisk.git] / web / Obj / dbase_base.phh
index 2db3934..d82de62 100644 (file)
@@ -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;
     }