Represents an object that can be persisted in the session scope
A SessionObject instance contains a name, set of properties and a set of time counters. Once registered through the register() method, the object is saved in the session scope and can be updated when necessary through the update() method. The serialization and unserialization routines are totally transparent to the developer.
Located in /core/session/SessionObject.class.php (line 47)
PHP2Go | --SessionObject
| Class | Description |
|---|---|
| User | Base user container class |
Class constructor
Search the given object name in the session scope. If it's found, restore all object's properties.
Compare the value of an object's property with another value
Creates a new object property, or a set of properties
Creates a new time counter on the object
Time counters can be used to track time elapsed between actions performed by the application user.
Deletes an object property
Get all object's properties
Get the value of an object's property
Get an object's property by reference
Get a time counter by name
Check if a given property exists
Check if the object is saved in the session
Registers the object in the session scope
Set an object's property, or a set of properties
Removes the object from the session scope
Synchronizes the object's properties in the session
It's recommended to call this method every time an object property is created, changed or removed, or when the script shuts down.
Serializes the object and save it in the session scope
Inherited From PHP2Go
PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()
Documentation generated on Sun, 07 Oct 2007 19:29:24 -0300 by phpDocumentor 1.3.2