b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _session.class.php

Source Location: /blogs/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 the evoCore framework - http://evocore.net/ See also http://sourceforge.net/projects/evocms/.

Author:  blueyed: Daniel HAHLER.
Author:  jeffbearer: Jeff BEARER - http://www.jeffbearer.com/.
Author:  fplanque: Francois PLANQUE.
Author:  mfollett: Matt FOLLETT - http://www.mfollett.com/.
Version:  $Id: _session.class.php,v 1.29 2010/03/06 01:03:35 blueyed Exp $
Copyright:  

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

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 595]

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 635]

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 ]


Documentation generated on Sat, 06 Mar 2010 04:22:48 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).