|
MagicSmoke
$VERSION$
|
dummy class used by browsed pages to represent the virtual web user More...
Public Member Functions | |
| __construct () | |
Public Member Functions inherited from Session | |
| __construct ($trans) | |
| construct the session object, check validity More... | |
| canExecute ($transaction) | |
| checks whether user can execute this transaction, returns true on success; it always returns true for admins More... | |
| checkFlags ($iflg) | |
| checks the given flags item pattern (string or array of strings) and returns true if they match More... | |
| deleteSession () | |
| delete current session More... | |
| getFlags () | |
| returns the flags of this user More... | |
| getRights () | |
| returns all rights of this user More... | |
| getRoles () | |
| returns all roles of this user More... | |
| getUser () | |
| returns the user name of the session More... | |
| hasFlag ($f) | |
| returns whether the user has a specific flag More... | |
| isAuthenticated () | |
| returns true if the session is actually authenticated More... | |
| isValid () | |
| returns true if the session exists, it may still be temporary and unauthenticated More... | |
| setMyPasswd ($trans) | |
| set my own password; called from SetMyPasswd transaction More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Session | |
| static | currentUserName () |
| return the name of the currently logged in user More... | |
| static | initialize () |
| initialize session sub-system More... | |
| static | instance () |
| return the session instance More... | |
| static | login ($trans) |
| creates a new session, called from the Login transaction More... | |
| static | passwdHash ($passwd) |
| helper function to generate salted user or customer password hash More... | |
| static | passwdVerify ($passwd, $hash) |
| helper function to verify user or customer login More... | |
| static | setWebSession () |
| initialize system in web session mode (ie. More... | |
Protected Member Functions inherited from Session | |
| initRights () | |
| internal: retrieve and remember the rights, roles, and flags of this user More... | |
Protected Attributes inherited from Session | |
| $flags =array() | |
| $rights =array() | |
| $roles =array() | |
| $sessid ="" | |
| $user ="" | |
dummy class used by browsed pages to represent the virtual web user
| DummyWebSession::__construct | ( | ) |
References $db, and Session\initRights().