Gumbo_Interface_Session_User

Gumbo_Interface_Session
   |
   --Gumbo_Interface_Session_User

User Session Interface

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Inherited Methods

Interface Methods

public string|int getUser ( ) [line 75]

Returns the User ID


[ Top ]
public string getUserKey ( ) [line 69]

Returns the User Key


[ Top ]
public bool isUserLoaded ( ) [line 81]

Returns if the User has been loaded


[ Top ]
public void loadUser ( ) [line 45]

Loads the User SESSION data

The User Session Encrypted String is saved in the following format: session_id||user_id||agent||ip_address||date

  • postcondition:  _setUserLoaded ([true|false])
  • postcondition:  setUser ()

[ Top ]
public void setUser ( int|string $userID ) [line 60]

Sets the User ID

Parameter(s):

  • (int|string) $userID

[ Top ]
public void setUserKey ( string $key ) [line 54]

Sets the User Key

Parameter(s):

  • (string) $key

[ Top ]