cvs: pear /LiveUser/Auth XML.php

From: Date: Mon, 28 Nov 2005 19:54:24 +0000
Subject: cvs: pear /LiveUser/Auth XML.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36579@lists.php.net to get a copy of this message
lsmith Mon Nov 28 14:54:24 2005 EDT Modified files: /pear/LiveUser/Auth XML.php Log: - phpdoc fixes http://cvs.php.net/diff.php/pear/LiveUser/Auth/XML.php?r1=1.30&r2=1.31&ty=u Index: pear/LiveUser/Auth/XML.php diff -u pear/LiveUser/Auth/XML.php:1.30 pear/LiveUser/Auth/XML.php:1.31 --- pear/LiveUser/Auth/XML.php:1.30 Fri Nov 25 22:47:48 2005 +++ pear/LiveUser/Auth/XML.php Mon Nov 28 14:54:23 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: XML.php,v 1.30 2005/11/26 03:47:48 lsmith Exp $ + * @version CVS: $Id: XML.php,v 1.31 2005/11/28 19:54:23 lsmith Exp $ * @link http://pear.php.net/LiveUser */ @@ -69,7 +69,7 @@ * XML file in which the auth data is stored. * * @var string - * @access private + * @access private */ var $file = ''; @@ -93,9 +93,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 */ @@ -139,8 +139,6 @@ /** * 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. * * @return boolean true on success or false on failure * @@ -188,25 +186,24 @@ } /** - * - * Reads auth_user_id, password from the xml file + * Reads user data from the given data source * 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 passwd + * 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 only an auth_user_id is passed it will try to read the data based on the id * If no match is found, false is being returned. * - * @param string Handle of the current user. - * @param mixed Can be a string with an - * unencrypted pwd or false. - * @param string auth user id + * @param string user handle + * @param boolean user password + * @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) {

« previous php.pear.cvs (#36579) next »