From 9e60295d9ed390bf1e64d6aef516bf5789ddec5c Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Tue, 20 Sep 2011 15:51:28 +0000 Subject: [PATCH] Fix: avoid warning --- htdocs/cashdesk/class/Auth.class.php | 53 +++++++++++++++++++++------- 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/htdocs/cashdesk/class/Auth.class.php b/htdocs/cashdesk/class/Auth.class.php index dacf99d794e..0cd6683887f 100644 --- a/htdocs/cashdesk/class/Auth.class.php +++ b/htdocs/cashdesk/class/Auth.class.php @@ -20,8 +20,8 @@ /** * Class ot manage authentication for pos module (cashdesk) */ -class Auth { - +class Auth +{ var $db; var $login; @@ -30,35 +30,64 @@ class Auth { var $reponse; var $sqlQuery; - - - function Auth ($DB) { + + /** + * Enter description here ... + * + * @param unknown_type $DB + */ + function Auth($DB) + { $this->db = $DB; $this->reponse(null); } - function login ($aLogin) { + /** + * Enter description here ... + * + * @param unknown_type $aLogin + */ + function login($aLogin) + { $this->login = $aLogin; } - - function passwd ($aPasswd) { + + /** + * Enter description here ... + * + * @param unknown_type $aPasswd + */ + function passwd($aPasswd) + { $this->passwd = $aPasswd; } - - function reponse ($aReponse) { + + /** + * Enter description here ... + * + * @param unknown_type $aReponse + */ + function reponse($aReponse) + { $this->reponse = $aReponse; } - function verif ($aLogin, $aPasswd) + /** + * Enter description here ... + * + * @param unknown_type $aLogin + * @param unknown_type $aPasswd + */ + function verif($aLogin, $aPasswd) { global $conf,$dolibarr_main_authentication,$langs; @@ -138,4 +167,4 @@ class Auth { } -?> +?> \ No newline at end of file -- GitLab