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

Public Member Functions

 isEmpty ()
 Returns true if and only if storage is empty.
 
 read ()
 Returns the contents of storage Behavior is undefined when storage is empty.
 
 write ($contents)
 Writes $contents to storage.
 
 clear ()
 Clears contents from storage.
 

Protected Attributes

 $_data
 Holds the actual auth data.
 

Member Function Documentation

clear ( )

Clears contents from storage.

Exceptions
Zend_Auth_Storage_ExceptionIf clearing contents from storage is impossible
Returns
void

Implements Zend_Auth_Storage_Interface.

isEmpty ( )

Returns true if and only if storage is empty.

Exceptions
Zend_Auth_Storage_ExceptionIf it is impossible to determine whether storage is empty
Returns
boolean

Implements Zend_Auth_Storage_Interface.

read ( )

Returns the contents of storage Behavior is undefined when storage is empty.

Exceptions
Zend_Auth_Storage_ExceptionIf reading contents from storage is impossible
Returns
mixed

Implements Zend_Auth_Storage_Interface.

write (   $contents)

Writes $contents to storage.

Parameters
mixed$contents
Exceptions
Zend_Auth_Storage_ExceptionIf writing $contents to storage is impossible
Returns
void

Implements Zend_Auth_Storage_Interface.

Member Data Documentation

$_data
protected

Holds the actual auth data.