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

Public Member Functions

 __construct ($namespace=self::NAMESPACE_DEFAULT, $member=self::MEMBER_DEFAULT)
 Sets session storage options and initializes session namespace object.
 
 getNamespace ()
 Returns the session namespace.
 
 getMember ()
 Returns the name of the session object member.
 
 isEmpty ()
 Defined by Zend_Auth_Storage_Interface.
 
 read ()
 Defined by Zend_Auth_Storage_Interface.
 
 write ($contents)
 Defined by Zend_Auth_Storage_Interface.
 
 clear ()
 Defined by Zend_Auth_Storage_Interface.
 

Public Attributes

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

Protected Attributes

 $_session
 
 $_namespace
 
 $_member
 

Constructor & Destructor Documentation

__construct (   $namespace = self::NAMESPACE_DEFAULT,
  $member = self::MEMBER_DEFAULT 
)

Sets session storage options and initializes session namespace object.

Parameters
mixed$namespace
mixed$member
Returns
void

Member Function Documentation

clear ( )

Defined by Zend_Auth_Storage_Interface.

Returns
void

Implements Zend_Auth_Storage_Interface.

getMember ( )

Returns the name of the session object member.

Returns
string
getNamespace ( )

Returns the session namespace.

Returns
string
isEmpty ( )

Defined by Zend_Auth_Storage_Interface.

Returns
boolean

Implements Zend_Auth_Storage_Interface.

read ( )

Defined by Zend_Auth_Storage_Interface.

Returns
mixed

Implements Zend_Auth_Storage_Interface.

write (   $contents)

Defined by Zend_Auth_Storage_Interface.

Parameters
mixed$contents
Returns
void

Implements Zend_Auth_Storage_Interface.

Member Data Documentation

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

Default session object member name.

const NAMESPACE_DEFAULT = 'Zend_Auth'

Default session namespace.