phpDocumentor sessions
[ class tree: sessions ] [ index: sessions ] [ all elements ]

Procedural File: _session.class.php

Source Location: /qp_inc/sessions/model/_session.class.php

Page Details

This file implements the Session class and holds the session_unserialize_callback() function used by it.

A session can be bound to a user and provides functions to store data in its context. All Hitlogs are also bound to a Session.

This file is part of Quam Plures - http://quamplures.net/ See also https://launchpad.net/quam-plures.

Author:  blueyed: Daniel HAHLER.
Author:  fplanque: Francois PLANQUE.
Author:  jeffbearer: Jeff BEARER - http://www.jeffbearer.com/.
Author:  mfollett: Matt FOLLETT - http://www.mfollett.com/.
Copyright:  

(c)2003-2009 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004-2006 by Daniel HAHLER - http://thequod.de/contact.

Copyright:  (c) 2009 - 2011 by the Quam Plures developers - http://quamplures.net/
Filesource:  Source Code for this file
Classes
Class Description
Session A session tracks a given user (not necessarily logged in) while he's navigating the site.
Functions
session_unserialize_callback  [line 502]

boolean session_unserialize_callback( $classname  )

This gets used as a http://www.php.net/unserialize callback function, which is responsible for loading the requested class.

IMPORTANT: when modifying this, modify the following also:

Parameters:
   $classname: 

API Tags:
Return:  True, if the required class could be loaded; false, if not
See:  session_unserialize_load_all_classes()

Information Tags:
Todo:  Once we require PHP5, we should think about using this as __autoload function.

[ Top ]
session_unserialize_load_all_classes  [line 542]

void session_unserialize_load_all_classes( )

When session_unserialize_callback() cannot be registered to do some smart loading, then we fall back to this function and load everything with brute force...

IMPORTANT: when modifying this, modify the following also:


API Tags:
See:  session_unserialize_callback()


[ Top ]