[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> class_session.php (summary)

(no description)

File Size: 562 lines (16 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 1 file
 inc/functions_user.php

Defines 1 class

session:: (7 methods):
  init()
  load_user()
  load_guest()
  load_spider()
  update_session()
  create_session()
  get_special_locations()


Class: session  - X-Ref

MyBB 1.6
Copyright 2010 MyBB Group, All Rights Reserved

Website: http://mybb.com
License: http://mybb.com/about/license

$Id$
init()   X-Ref
Initialize a session


load_user($uid, $loginkey='')   X-Ref
Load a user via the user credentials.

param: int The user id.
param: string The user's loginkey.

load_guest()   X-Ref
Load a guest user.


load_spider($spider_id)   X-Ref
Load a search engine spider.

param: int The ID of the search engine spider

update_session($sid, $uid='')   X-Ref
Update a user session.

param: int The session id.
param: int The user id.

create_session($uid=0)   X-Ref
Create a new session.

param: int The user id to bind the session to.

get_special_locations()   X-Ref
Find out the special locations.

return: array Special locations array.



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1