Implements interfaces:
Zend_Session_Namespace
Located in /Session/Namespace.php (line 44)
Zend_Session_Abstract | --Zend_Session_Namespace
Namespace locking mechanism
Single instance namespace array to ensure data security.
Namespace - which namespace this instance of zend-session is saving-to/getting-from
Inherited from Zend_Session_Abstract
Zend_Session_Abstract::$_expiringData
Zend_Session_Abstract::$_readable
Zend_Session_Abstract::$_writable
resetSingleInstance()
unlockAll() - unmark all session/namespaces to enable read & write
__construct() - Returns an instance object bound to a particular, isolated section of the session, identified by $namespace name (defaulting to 'Default').
The optional argument $singleInstance will prevent construction of additional instance objects acting as accessors to this $namespace.
apply() - enables applying user-selected function, such as array_merge() to the namespace Parameters following the $callback argument are passed to the callback function.
Caveat: ignores members expiring now.
Example: $namespace->apply('array_merge', array('tree' => 'apple', 'fruit' => 'peach'), array('flower' => 'rose')); $namespace->apply('count');
applySet() - enables applying user-selected function, and sets entire namespace to the result Result of $callback must be an array.
Parameters following the $callback argument are passed to the callback function. Caveat: ignores members expiring now.
Example: $namespace->applySet('array_merge', array('tree' => 'apple', 'fruit' => 'peach'), array('flower' => 'rose'));
getIterator() - return an iteratable object for use in foreach and the like, this completes the IteratorAggregate interface
Returns the namespace name
isLocked() - return lock status, true if, and only if, read-only
lock() - mark a session/namespace as readonly
setExpirationHops() - expire the namespace, or specific variables after a specified number of page hops
setExpirationSeconds() - expire the namespace, or specific variables after a specified number of seconds
unlock() - unmark a session/namespace to enable read & write
unsetAll() - unset all variables in this namespace
__get() - method to get a variable in this object's current namespace
__isset() - determine if a variable in this object's namespace is set
__set() - method to set a variable/value in this object's namespace
__unset() - unset a variable in this object's namespace.
Inherited From Zend_Session_Abstract
Zend_Session_Abstract::_namespaceGet()
Zend_Session_Abstract::_namespaceGetAll()
Zend_Session_Abstract::_namespaceIsset()
Zend_Session_Abstract::_namespaceUnset()
used as option to constructor to prevent additional instances to the same namespace
Inherited from Zend_Session_Abstract
Zend_Session_Abstract::_THROW_NOT_READABLE_MSG
Zend_Session_Abstract::_THROW_NOT_WRITABLE_MSG
Documentation generated on Mon, 21 Jun 2010 15:35:11 -0400 by phpDocumentor 1.4.3