Session/Abstract.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Session
- Since
- Preview Release 0.2
- Version
- $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Session_Abstract
Zend_Session_Abstract
- Children
- \Zend_Session_Namespace
- \Zend_Session
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants

_THROW_NOT_WRITABLE_MSG
= 'Zend_Session is currently marked as read-only.'
Error message thrown when an action requires modification, but current Zend_Session has been marked as read-only.
Properties


array $_expiringData = array()
Since expiring data is handled at startup to avoid __destruct difficulties, the data that will be expiring at end of this request is held here
array()
Details- Type
- array


bool $_readable = false
Whether or not session permits reading (reading data in $_SESSION[])
false
Details- Type
- bool
Methods


_namespaceGet(string $namespace, string $name = null) : mixed
namespaceGet() - Get $name variable from $namespace, returning by reference.
Name | Type | Description |
---|---|---|
$namespace | string | |
$name | string |
Type | Description |
---|---|
mixed |


_namespaceGetAll(string $namespace) : mixed
namespaceGetAll() - Get an array containing $namespace, including expiring data.
Name | Type | Description |
---|---|---|
$namespace | string |
Type | Description |
---|---|
mixed |


_namespaceIsset(string $namespace, string $name = null) : bool
namespaceIsset() - check to see if a namespace or a variable within a namespace is set
Name | Type | Description |
---|---|---|
$namespace | string | |
$name | string |
Type | Description |
---|---|
bool |


_namespaceUnset(string $namespace, string $name = null) : void
namespaceUnset() - unset a namespace or a variable within a namespace
Name | Type | Description |
---|---|---|
$namespace | string | |
$name | string |
Exception | Description |
---|---|
\Zend_Session_Exception |