API Documentation

Zend/Session/Abstract.php

Show: inherited
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 license@zend.com 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 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Session_Abstract

Package: Zend\Session

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

Constant  _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.

Constant  _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

Propertyprotectedarray  $_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
Propertyprotectedbool  $_readable= 'false'
static

Whether or not session permits reading (reading data in $_SESSION[])

Default valuefalseDetails
Type
bool
Propertyprotectedbool  $_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
Name Type Description
$namespace string
$name string
Returns
Type Description
mixed
methodprotected_namespaceGetAll( string $namespace ) : mixed
static

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

Parameters
Name Type Description
$namespace string
Returns
Type Description
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
Name Type Description
$namespace string
$name string
Returns
Type Description
bool
methodprotected_namespaceUnset( string $namespace, string $name = null ) : void
static

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

Parameters
Name Type Description
$namespace string
$name string
Throws
Exception Description
\Zend_Session_Exception
Documentation was generated by DocBlox 0.15.1.