cvs: pear /Perm_LiveUser LiveUser.php

From: Date: Sat, 22 May 2004 07:24:11 +0000
Subject: cvs: pear /Perm_LiveUser LiveUser.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-19756@lists.php.net to get a copy of this message
arnaud Sat May 22 03:24:11 2004 EDT Modified files: /pear/Perm_LiveUser LiveUser.php Log: * cosmetics (folding marks, ws) * phpdoc http://cvs.php.net/diff.php/pear/Perm_LiveUser/LiveUser.php?r1=1.98&r2=1.99&ty=u Index: pear/Perm_LiveUser/LiveUser.php diff -u pear/Perm_LiveUser/LiveUser.php:1.98 pear/Perm_LiveUser/LiveUser.php:1.99 --- pear/Perm_LiveUser/LiveUser.php:1.98 Wed May 19 06:24:20 2004 +++ pear/Perm_LiveUser/LiveUser.php Sat May 22 03:24:11 2004 @@ -64,11 +64,12 @@ define('LIVEUSER_STATUS_AUTHFAILED', -9); /**#@-*/ -/**#@+ +/** * The higest possible right level + * + * @var integer */ define('LIVEUSER_MAX_LEVEL', 3); -/**#@-*/ /** * Class LiveUser - Login handling class @@ -101,7 +102,7 @@ * @author Lukas Smith <smith@backendmedia.com> * @author Pierre-Alain Joye <pajoye@php.net> * @author Arnaud Limbourg <arnaud@php.net> - * @version $Id: LiveUser.php,v 1.98 2004/05/19 10:24:20 lsmith Exp $ + * @version $Id: LiveUser.php,v 1.99 2004/05/22 07:24:11 arnaud Exp $ * @package LiveUser */ class LiveUser extends PEAR @@ -212,9 +213,6 @@ */ var $_error = false; - // }}} - // {{{ constructor - /** * Constructor */ @@ -223,9 +221,6 @@ $this->PEAR(); } - // }}} - // {{{ raiseError() - /** * This method is used to communicate an error and invoke error * callbacks etc. Basically a wrapper for PEAR::raiseError @@ -376,22 +371,22 @@ } /** - * Makes your instance global. - * - * <b>You MUST call this method with the $var = &LiveUser::singleton() syntax. - * Without the ampersand (&) in front of the method name, you will not get - * a reference, you will get a copy.</b> - * - * @access public - * @param mixed The config file or the config array to configure. - * @param string Handle of the user trying to authenticate - * @param string Password of the user trying to authenticate - * @param boolean set to true if user wants to logout - * @param boolean set if remember me is set - * @param mixed Name of array containing the configuration. - * @return object Returns an object of either LiveUser or PEAR_Error type - * @see LiveUser::factory - */ + * Makes your instance global. + * + * <b>You MUST call this method with the $var = &LiveUser::singleton() syntax. + * Without the ampersand (&) in front of the method name, you will not get + * a reference, you will get a copy.</b> + * + * @access public + * @param mixed The config file or the config array to configure. + * @param string Handle of the user trying to authenticate + * @param string Password of the user trying to authenticate + * @param boolean set to true if user wants to logout + * @param boolean set if remember me is set + * @param mixed Name of array containing the configuration. + * @return object Returns an object of either LiveUser or PEAR_Error type + * @see LiveUser::factory + */ function &singleton($conf, $handle = '', $passwd = '', $logout = false, $remember = false, $confName = 'liveuserConfig') {

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