A simple cache container that stores to PHP's native session variables.
Requires PHP >=4.1.0. <4.1.0 will fail silently.
Using this cache system will result in the application being loaded and configured when a new session is started. It is not a shared object. One exists for each user and persistant data may not be shared through the application object. (Not that you should do that anyway.)
For best performance it is recommended that true shared cache be used.
Located in /MachII/cache/PhpSession.php (line 25)
MachII_framework_Cache | --MachII_cache_PhpSession
Inherited from MachII_framework_Cache
MachII_framework_Cache::$appName
MachII_framework_Cache::$cache
MachII_framework_Cache::$options
Unsets the array for the named application's session variable.
Start a session.
Warning is suppressed if a session has already been started.
Unserialize objects and return the variable from the session.
Serialize objects and set the session variable.
The value is serialized to "protect" the Mach-II application object. Otherwise the object would be auto-deserialized before its classes are loaded, since those are stored in the session also.
Inherited From MachII_framework_Cache
MachII_framework_Cache::__construct()
MachII_framework_Cache::clear()
MachII_framework_Cache::createCache()
MachII_framework_Cache::get()
MachII_framework_Cache::getAppName()
MachII_framework_Cache::getCache()
MachII_framework_Cache::getOption()
MachII_framework_Cache::getOptions()
MachII_framework_Cache::save()
MachII_framework_Cache::setAppName()
MachII_framework_Cache::setCache()
MachII_framework_Cache::setOption()
MachII_framework_Cache::setOptions()
Documentation generated on Thu, 20 Jan 2005 10:47:05 -0800 by phpDocumentor 1.3.0RC3