Category:Session

From XOMBO Documentation

Jump to: navigation, search

$Session – The session object is accessible from anywhere within the scope of the application. Simply get a $Session instance by calling Session::getInstance (). $Session contains information regarding the current logged in user, the user's vendor object, theme information, etc. The specifications of the Session object are subject to change as the needs of the application evolve. Generally speaking, if a piece of data is used in several places throughout the application in multiple views and at a high frequency, there is probable justification for adding it to the Session object. This will allow the object to load once as opposed to several times for improved delivery speed. It's easy to find out what's available to you in $Session by running a var_dump against it.

File ./model/sessionbase.class.php      ★      SVN http://svn.xombo.org/svn/platform/current/trunk/model/sessionbase.class.php API DOCS

Pages in category "Session"

The following 5 pages are in this category, out of 5 total.

A

G

R

U