cvs: pear /LiveUser/Auth Session.php
| From: | Lukas Smith | Date: | Mon, 28 Nov 2005 19:54:08 +0000 |
| Subject: | cvs: pear /LiveUser/Auth Session.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36578@lists.php.net to get a copy of this message | ||
lsmith Mon Nov 28 14:54:08 2005 EDT
Modified files:
/pear/LiveUser/Auth Session.php
Log:
- phpdoc fixes
http://cvs.php.net/diff.php/pear/LiveUser/Auth/Session.php?r1=1.19&r2=1.20&ty=u
Index: pear/LiveUser/Auth/Session.php
diff -u pear/LiveUser/Auth/Session.php:1.19 pear/LiveUser/Auth/Session.php:1.20
--- pear/LiveUser/Auth/Session.php:1.19 Fri Nov 25 22:47:48 2005
+++ pear/LiveUser/Auth/Session.php Mon Nov 28 14:54:08 2005
@@ -40,7 +40,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: Session.php,v 1.19 2005/11/26 03:47:48 lsmith Exp $
+ * @version CVS: $Id: Session.php,v 1.20 2005/11/28 19:54:08 lsmith Exp $
* @link http://pear.php.net/LiveUser
*/
@@ -75,9 +75,9 @@
/**
* Load the storage container
*
- * @param mixed Name of array containing the configuration.
- * @param string name of the container that should be used
- * @return boolean true on success or false on failure
+ * @param array Name of array containing the configuration.
+ * @param string name of the container that should be used
+ * @return boolean true on success or false on failure
*
* @access public
*/
@@ -89,9 +89,7 @@
}
/**
- * Writes current values for user back to the database.
- * This method does nothing in the base class and is supposed to
- * be overridden in subclasses according to the supported backend.
+ * Does nothing
*
* @return boolean true on success or false on failure
*
@@ -103,25 +101,15 @@
}
/**
- * Reads auth_user_id, passwd, is_active flag
- * lastlogin timestamp from the database
- * If only $handle is given, it will read the data
- * from the first user with that handle and return
- * true on success.
- * If $handle and $passwd are given, it will try to
- * find the first user with both handle and password
- * matching and return true on success (this allows
- * multiple users having the same handle but different
- * passwords - yep, some people want this).
- * If no match is found, false is being returned.
+ * Reads user data from the given data source
+ * Compares $passwd with a string inside the $_SESSION array
*
-
- * @param string user handle
+ * @param string user handle
* @param boolean user password
- * @param string auth user id
+ * @param string auth user id
* @return boolean true on success or false on failure
*
- * @access private
+ * @access public
*/
function readUserData($handle = '', $passwd = '', $auth_user_id = false)
{