Docs For Class Zend_Session

## Class Zend_Session

Description

Zend_Session

Located in /Zend/Session.php (line 18)

Variable Summary
static array $_namespace_locks
string $_namespace
Zend_Session_Core $_session_core
Method Summary
Zend_Session __construct ([string $namespace = 'Default'])
void lock ([ $locked = true])
void setExpirationHops (int $hops, [mixed $variables = null], [boolean $hop_count_on_usage_only = false])
void setExpirationSeconds (int $seconds, [mixed $variables = null])
mixed __get (string $name)
bool __isset (string $name)
true __set (string $name, mixed $value)
true __unset (string $name)
Variables
static array $_namespace_locks = array() (line 40)

Namespace locking mechanism

- access: protected

string $_namespace = "Default" (line 33)

Namespace - which namespace this instance of zend-session is saving-to/getting-from

- access: protected

Zend_Session_Core $_session_core = null (line 26)

Session_Core instance

- access: protected

Methods
Constructor __construct (line 50)

__construct() - This will create an instance that saves to/gets from an instantiated core. An optional namespace allows for saving/getting to isolated sections of the session.

- access: public

Zend_Session __construct ([string $namespace = 'Default'])

- string $namespace

lock (line 102)

Lock() - ability to mark a session/namespace as readonly

- access: public

void lock ([ $locked = true])

- $locked

setExpirationHops (line 90)

SetExpirationHops() - expire the namespace, or specific variables after a specified number of page hops

- access: public

void setExpirationHops (int $hops, [mixed $variables = null], [boolean $hop_count_on_usage_only = false])

- int $hops
- mixed $variables
- boolean $hop_count_on_usage_only

setExpirationSeconds (line 74)

SetExpirationSeconds() - expire the namespace, or specific variables after a specified number of seconds

- access: public

void setExpirationSeconds (int $seconds, [mixed $variables = null])

- int $seconds
- mixed $variables

__get (line 115)

__get() - method to get a variable in this objects current namespace

- access: public

mixed __get (string $name)

- string $name

__isset (line 144)

__isset() - determine if a variable in this objects namespace is set

- access: public

bool __isset (string $name)

- string $name

__set (line 128)

__set() - method to set a variable/value in this objects namespace

- access: public

true __set (string $name, mixed $value)

- string $name
- mixed $value

__unset (line 156)

__unset() - unset a variable in this objects namespace.

- access: public

true __unset (string $name)

- string $name

Documentation generated on Sun, 29 Oct 2006 21:28:03 -0600 by phpDocumentor 1.3.0RC6