Session/Abstract.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VConstant  _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.
>VConstant  _THROW_NOT_READABLE_MSG = 'Zend_Session is not marked as readable.'
Error message thrown when an action requires reading session data, but current Zend_Session is not marked as readable.

Properties

>VPropertyprotectedarray $_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 valuearray()Details
Type
array
>VPropertyprotectedbool $_readable = false
static
Whether or not session permits reading (reading data in $_SESSION[])
Default valuefalseDetails
Type
bool
>VPropertyprotectedbool $_writable = false
static
Whether or not session permits writing (modification of $_SESSION[])
Default valuefalseDetails
Type
bool

Methods

methodprotected_namespaceGet(string $namespace, string $name = null) : mixed
static

namespaceGet() - Get $name variable from $namespace, returning by reference.

Parameters
NameTypeDescription
$namespacestring
$namestring
Returns
TypeDescription
mixed
methodprotected_namespaceGetAll(string $namespace) : mixed
static

namespaceGetAll() - Get an array containing $namespace, including expiring data.

Parameters
NameTypeDescription
$namespacestring
Returns
TypeDescription
mixed
methodprotected_namespaceIsset(string $namespace, string $name = null) : bool
static

namespaceIsset() - check to see if a namespace or a variable within a namespace is set

Parameters
NameTypeDescription
$namespacestring
$namestring
Returns
TypeDescription
bool
methodprotected_namespaceUnset(string $namespace, string $name = null) : void
static

namespaceUnset() - unset a namespace or a variable within a namespace

Parameters
NameTypeDescription
$namespacestring
$namestring
Throws
ExceptionDescription
\Zend_Session_Exception
Documentation was generated by phpDocumentor 2.2.0 .