Zend_Session_Abstract

category Zend
package Zend_Session
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

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

_namespaceGet(string $namespace, string $name = null) : mixed
Static

Parameters

$namespace

string

$name

string

Returns

mixed

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

_namespaceGetAll(string $namespace) : mixed
Static

Parameters

$namespace

string

Returns

mixed

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

_namespaceIsset(string $namespace, string $name = null) : boolean
Static

Parameters

$namespace

string

$name

string

Returns

boolean

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

_namespaceUnset(string $namespace, string $name = null) : void
Static

Parameters

$namespace

string

$name

string

Exceptions

\Zend_Session_Exception

 Properties

 

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

$_expiringData : array

Default

array()
Static
 

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

$_readable : boolean

Default

false
Static
 

Whether or not session permits writing (modification of $_SESSION[])

$_writable : boolean

Default

false
Static

 Constants

 

Error message thrown when an action requires reading session data, but current Zend_Session is not marked as readable.

_THROW_NOT_READABLE_MSG = 'Zend_Session is not marked as readable.' 
 

Error message thrown when an action requires modification, but current Zend_Session has been marked as read-only.

_THROW_NOT_WRITABLE_MSG = 'Zend_Session is currently marked as read-only.'