Smutty_Object
|
+--Smutty_Session
public class Smutty_Session
extends Smutty_Object
| Field Summary | |
|---|---|
| mixed | the current user */ |
| Method Summary | |
|---|---|
| static Smutty_Session | returns the instance of the session class |
| private nothing | init() initializes the session object, setting things like cookie paths and handling a user |
| nothing | save() saves the data to the session object |
| private nothing | tryAuth() tries to authenticate a user. |
public mixed $user
the current user */
public static Smutty_Session getInstance()
returns the instance of the session class
private nothing init()
initializes the session object, setting things like cookie paths and handling a user
public nothing save()
saves the data to the session object
private nothing tryAuth()
tries to authenticate a user. if the authentication succeeds then the $user property will be set accordingly.
this class handles sessions within smutty. it's basically just a wrapper around the $_SESSION object, and uses php's builtin session handling functions.
/