Class session

Description

StockManiac Session

Initialize the PHP Session and check the expiration time. Provide methods to store and retrieve data to/from the session.

Located in /lib/session.class.php (line 40)


	
			
Direct descendents
Class Description
 class gui GUI
Variable Summary
 string $err
Method Summary
 void __construct ()
 void sess_destroy ()
 bool sess_exists (string $name)
 void sess_get_var (string $name)
 void sess_store_var (string $name, mixed $val)
 void sess_unset_var (string $name)
Variables
string $err (line 49)

Error string.

Can be anything. I actually forgot why its here. ;-)

  • access: public
Methods
Constructor __construct (line 56)
void __construct ()

Redefined in descendants as:
sess_destroy (line 122)

Destroy the entire session.

  • access: public
void sess_destroy ()
sess_exists (line 112)

Check if a session variable is existing.

bool sess_exists (string $name)
  • string $name
sess_get_var (line 86)

Return a previously stored variable from the session.

void sess_get_var (string $name)
  • string $name
sess_store_var (line 74)

Store a Variable in the session.

void sess_store_var (string $name, mixed $val)
  • string $name
  • mixed $val
sess_unset_var (line 99)

Unset a variable from the session.

  • access: public
void sess_unset_var (string $name)
  • string $name

Documentation generated on Sun, 22 Aug 2010 11:20:23 +0200 by phpDocumentor 1.4.3