Zend Framework  1.12
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Zend_Http_UserAgent_Storage_Session Class Reference

Public Member Functions

 __construct ($options=null)
 Sets session storage options and initializes session namespace object.
 
 getNamespace ()
 Returns the session namespace name.
 
 getMember ()
 Returns the name of the session object member.
 
 isEmpty ()
 Defined by Zend_Http_UserAgent_Storage.
 
 read ()
 Defined by Zend_Http_UserAgent_Storage.
 
 write ($content)
 Defined by Zend_Http_UserAgent_Storage.
 
 clear ()
 Defined by Zend_Http_UserAgent_Storage.
 

Public Attributes

const NAMESPACE_DEFAULT = 'Zend_Http_UserAgent'
 Default session namespace.
 
const MEMBER_DEFAULT = 'storage'
 Default session object member name.
 

Protected Attributes

 $_session
 
 $_namespace
 
 $_member
 

Constructor & Destructor Documentation

__construct (   $options = null)

Sets session storage options and initializes session namespace object.

Expects options to contain 0 or more of the following keys:

  • browser_type – maps to "namespace" internally
  • member
Parameters
null | array | object$options
Returns
void
Exceptions
Zend_Http_UserAgent_Storage_Exceptionon invalid $options argument

Member Function Documentation

clear ( )

Defined by Zend_Http_UserAgent_Storage.

Returns
void

Implements Zend_Http_UserAgent_Storage.

getMember ( )

Returns the name of the session object member.

Returns
string
getNamespace ( )

Returns the session namespace name.

Returns
string
isEmpty ( )

Defined by Zend_Http_UserAgent_Storage.

Returns
boolean

Implements Zend_Http_UserAgent_Storage.

read ( )

Defined by Zend_Http_UserAgent_Storage.

Returns
mixed

Implements Zend_Http_UserAgent_Storage.

write (   $content)

Defined by Zend_Http_UserAgent_Storage.

Parameters
mixed$contents
Returns
void

Implements Zend_Http_UserAgent_Storage.

Member Data Documentation

$_member
protected
$_namespace
protected
$_session
protected
const MEMBER_DEFAULT = 'storage'

Default session object member name.

const NAMESPACE_DEFAULT = 'Zend_Http_UserAgent'

Default session namespace.