Models
[ class tree: Models ] [ index: Models ] [ all elements ]

Class: User_Session

Source Location: /models/User/Session.php

Class Overview


User_Session


Author(s):

  • Wouter Bulten (wouterbulten@mai-ai.org)

Copyright:

  • Copyright (C) 2009 Mai (Me Artificial Intelligence)

Variables

Methods



Class Details

[line 43]
User_Session



Tags:

author:  Wouter Bulten (wouterbulten@mai-ai.org)
copyright:  Copyright (C) 2009 Mai (Me Artificial Intelligence)
link:  http://www.launchpad.net/mai
license:  GNU General Public License version 3 (GPLv3)


[ Top ]


Class Variables

static $_session =

[line 49]

Holds the session namespace.



Tags:

access:  private

Type:   Zend_Session_Namespace


[ Top ]



Class Methods


static method isValid [line 81]

static Boolean isValid( )

Validates the session.



Tags:

access:  public


[ Top ]

static method remove [line 120]

static void remove( )

Remove all session data.



Tags:

access:  public


[ Top ]

static method returnUserId [line 103]

static Int returnUserId( )

Return the id of the user is a session excists.



Tags:

access:  public


[ Top ]

static method set [line 63]

static void set( $id $id)

Sets a session using Zend_Session_Namespace.



Tags:

access:  public
uses:  Zend_Session_Namespace


Parameters:

$id   $id  

[ Top ]

constructor __construct [line 55]

void __construct( )

Private constructor to prevent construction.



Tags:

access:  private


[ Top ]


Documentation generated on Mon, 27 Jul 2009 19:51:58 +0200 by phpDocumentor 1.4.1