cvs: pear /LiveUser LiveUser.php

From: Date: Tue, 08 Nov 2005 15:26:27 +0000
Subject: cvs: pear /LiveUser LiveUser.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36155@lists.php.net to get a copy of this message
arnaud Tue Nov 8 10:26:27 2005 EDT Modified files: /pear/LiveUser LiveUser.php Log: attempt at improving phpdoc http://cvs.php.net/diff.php/pear/LiveUser/LiveUser.php?r1=1.119&r2=1.120&ty=u Index: pear/LiveUser/LiveUser.php diff -u pear/LiveUser/LiveUser.php:1.119 pear/LiveUser/LiveUser.php:1.120 --- pear/LiveUser/LiveUser.php:1.119 Thu Nov 3 02:40:28 2005 +++ pear/LiveUser/LiveUser.php Tue Nov 8 10:26:26 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: LiveUser.php,v 1.119 2005/11/03 07:40:28 lsmith Exp $ + * @version CVS: $Id: LiveUser.php,v 1.120 2005/11/08 15:26:26 arnaud Exp $ * @link http://pear.php.net/LiveUser */ @@ -495,8 +495,8 @@ /** * Wrapper method to get the Error Stack * - * @return array an array of the errors or - * false if there are no errors + * @return array|false an array of the errors or + * false if there are no errors * * @access public */ @@ -532,9 +532,9 @@ } /** - * Creates an instance of an auth object. + * Creates an instance of an auth container class. * - * @param array|file Name of array containing the configuration. + * @param array|file Array or name of file containing the configuration. * @param string Name of the container we'll be using. * @param string Prefix of the class that will be used. * @return object|false Returns an instance of an auth container @@ -556,9 +556,9 @@ } /** - * Creates an instance of an perm object. + * Creates an instance of an perm container class. * - * @param array|file Name of array containing the configuration. + * @param array|file Array or name of file containing the configuration. * @param string Prefix of the class that will be used. * @return object|false Returns an instance of a perm container * class or false on error @@ -579,7 +579,7 @@ } /** - * Returns an instance of a storage Container. + * Returns an instance of a storage Container class. * * @param array configuration array to pass to the storage container * @param string Prefix of the class that will be used. @@ -720,7 +720,10 @@ } /** - * This method lazy loads PEAR::Log. + * Determines if loading of PEAR::Log is necessary. + * + * If an object is passed it is returned, otherwise Log is loaded + * and setup properly. * * @param bool|object $log Boolean that indicates if a log instance * should be created or an instance of a class @@ -814,7 +817,9 @@ } /** - * Sets an option. + * Sets an option after the configuration array has been loaded. + * + * You can override a specific option calling this method. * * @param string option name * @param mixed value for the option @@ -835,7 +840,7 @@ } /** - * Returns the value of an option + * Returns the value of an option from the configuration array. * * @param string option name * @return mixed the option value or false on failure @@ -853,7 +858,7 @@ } /** - * Sets the session handler and name and starts the session + * Sets the session handler and name and starts the session. * * @return void * @@ -888,7 +893,7 @@ /** * Tries to retrieve auth object from session. * If this fails, the method attempts a login based on the - * parameters or cookie data + * parameters or cookie data. * * @param string handle of the user trying to authenticate * @param string password of the user trying to authenticate

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