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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Session
- Since
- Preview Release 0.2
- Version
- $Id$
\Zend_Session_Abstract
Package: Zend_Session
Zend_Session_Abstract
- Children
- \Zend_Session_Namespace
- \Zend_Session
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 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()
static
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
Default value
array()
Details- Type
- array
bool $_readable = false
static
Whether or not session permits reading (reading data in $_SESSION[])
Default value
false
Details- Type
- bool
Methods
_namespaceGet(string $namespace, string $name = null) : mixed
static
namespaceGet() - Get $name variable from $namespace, returning by reference.
Parameters
Returns
Name | Type | Description |
---|---|---|
$namespace | string | |
$name | string |
Type | Description |
---|---|
mixed |
_namespaceGetAll(string $namespace) : mixed
static
namespaceGetAll() - Get an array containing $namespace, including expiring data.
Parameters
Returns
Name | Type | Description |
---|---|---|
$namespace | string |
Type | Description |
---|---|
mixed |
_namespaceIsset(string $namespace, string $name = null) : bool
static
namespaceIsset() - check to see if a namespace or a variable within a namespace is set
Parameters
Returns
Name | Type | Description |
---|---|---|
$namespace | string | |
$name | string |
Type | Description |
---|---|
bool |
_namespaceUnset(string $namespace, string $name = null) : void
static
namespaceUnset() - unset a namespace or a variable within a namespace
Parameters
Throws
Name | Type | Description |
---|---|---|
$namespace | string | |
$name | string |
Exception | Description |
---|---|
\Zend_Session_Exception |