Subversion Repositories Applications.papyrus

Rev

Rev 1713 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1713 Rev 2150
Line 16... Line 16...
16
 * @package    Auth
16
 * @package    Auth
17
 * @author     Martin Jansen <mj@php.net>
17
 * @author     Martin Jansen <mj@php.net>
18
 * @author     Adam Ashley <aashley@php.net>
18
 * @author     Adam Ashley <aashley@php.net>
19
 * @copyright  2001-2006 The PHP Group
19
 * @copyright  2001-2006 The PHP Group
20
 * @license    http://www.php.net/license/3_01.txt  PHP License 3.01
20
 * @license    http://www.php.net/license/3_01.txt  PHP License 3.01
21
 * @version    CVS: $Id: Auth.php,v 1.3 2007-11-19 15:10:59 jp_milcent Exp $
21
 * @version    CVS: $Id: Auth.php,v 1.119 2007/07/02 03:38:52 aashley Exp $
22
 * @link       http://pear.php.net/package/Auth
22
 * @link       http://pear.php.net/package/Auth
23
 */
23
 */
Line 24... Line 24...
24
 
24
 
25
/**
25
/**
Line 67... Line 67...
67
 * @package    Auth
67
 * @package    Auth
68
 * @author     Martin Jansen <mj@php.net>
68
 * @author     Martin Jansen <mj@php.net>
69
 * @author     Adam Ashley <aashley@php.net>
69
 * @author     Adam Ashley <aashley@php.net>
70
 * @copyright  2001-2006 The PHP Group
70
 * @copyright  2001-2006 The PHP Group
71
 * @license    http://www.php.net/license/3_01.txt  PHP License 3.01
71
 * @license    http://www.php.net/license/3_01.txt  PHP License 3.01
72
 * @version    Release: 1.5.4  File: $Revision: 1.3 $
72
 * @version    Release: 1.5.4  File: $Revision: 1.119 $
73
 * @link       http://pear.php.net/package/Auth
73
 * @link       http://pear.php.net/package/Auth
74
 */
74
 */
75
class Auth {
75
class Auth {
Line 76... Line 76...
76
 
76
 
Line 773... Line 773...
773
     * @return mixed  Value of the data field.
773
     * @return mixed  Value of the data field.
774
     * @access public
774
     * @access public
775
     */
775
     */
776
    function getAuthData($name = null)
776
    function getAuthData($name = null)
777
    {
777
    {
-
 
778
    
778
        if (!isset($this->session['data'])) {
779
        if (!isset($this->session['data'])) {
779
            return null;
780
            return null;
780
        }
781
        }
781
        if(!isset($name)) {
782
        if(!isset($name)) {
782
            return $this->session['data'];
783
            return $this->session['data'];