HRDIODB
[ class tree: HRDIODB ] [ index: HRDIODB ] [ all elements ]

Class: session

Source Location: /session_class.php

Class Overview


HRDI session class.


Methods



Class Details

[line 34]
HRDI session class.

The session class is used to store and retrieve session data.




[ Top ]


Class Methods


constructor session [line 40]

session session( )

Constructor.

The session class constructor. If a session hasn't been started yet, it starts a new, named session.




[ Top ]

method get_var [line 63]

mixed get_var( string $key)

Gets a session variable.

A getter method to retrieve the value of a session variable.




Tags:

return:  Session variable value


Parameters:

string   $key   Session variable name

[ Top ]

method go_to_last_page [line 81]

void go_to_last_page( )

Return to last visited page.

This method redirects the user to the last saved page. It makes the magic of "returning to your previous page" possible.




[ Top ]

method set_var [line 53]

void set_var( string $key, mixed $value)

Sets a session variable.

A setter method to store a value in a session variable.




Parameters:

string   $key   Session variable name
mixed   $value   Session variable value

[ Top ]

method unset_var [line 72]

void unset_var( string $key)

Unsets a session variable.

A method to unset a session variable.




Parameters:

string   $key   Session variable name

[ Top ]


Documentation generated on Tue, 23 Jan 2007 22:57:52 -0500 by phpDocumentor 1.3.0RC6