[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/inc/ -> class_session.php (summary)

(no description)

File Size: 612 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.8
Copyright 2014 MyBB Group, All Rights Reserved

Website: http://www.mybb.com
License: http://www.mybb.com/about/license
init()   X-Ref
Initialize a session

load_user($uid, $loginkey='')   X-Ref
Load a user via the user credentials.
return: bool
param: int $uid The user id.
param: string $loginkey 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 $spider_id The ID of the search engine spider

update_session($sid, $uid=0)   X-Ref
Update a user session.
param: int $sid The session id.
param: int $uid The user id.

create_session($uid=0)   X-Ref
Create a new session.
param: int $uid The user id to bind the session to.

get_special_locations()   X-Ref
Find out the special locations.
return: array Special locations array.



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref