Inheritances
Files
Overview
FRAMES
NO FRAMES

Class Zend_Auth_Storage_NonPersistent

Zend_Auth
|-Zend_Auth_Zend_Auth_Storage
|- class Zend_Auth_Storage_NonPersistent implements Zend_Auth_Storage_Interface
Non-Persistent Auth Storage

Since HTTP Authentication happens again on each request, this will always be
re-populated. So there's no need to use sessions, this simple value class
will hold the data for rest of the current request.
CategoryZend
PackageZend_Auth
SubpackageZend_Auth_Storage
CopyrightCopyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
Licensehttp://framework.zend.com/license/new-bsd New BSD License

Overview

Instance fields$_data
Instance methodsclear() isEmpty() read() write()

Summary

Instance fields
# $_data Holds the actual auth data
Instance methods
+ clear() Clears contents from storage
+ isEmpty() Returns true if and only if storage is empty
+ read() Returns the contents of storage
+ write() Writes $contents to storage

Details

Instance fields

$_data
protected $_data
Holds the actual auth data

Instance methods

clear()
public function clear( )
Clears contents from storage
Returns void
Throws Zend_Auth_Storage_Exception If clearing contents from storage is impossible
isEmpty()
public function isEmpty( )
Returns true if and only if storage is empty
Returns boolean
Throws Zend_Auth_Storage_Exception If it is impossible to determine whether storage is empty
read()
public function read( )
Returns the contents of storage
Behavior is undefined when storage is empty.
Returns mixed
Throws Zend_Auth_Storage_Exception If reading contents from storage is impossible
write()
public function write( $contents)
Writes $contents to storage
Parameters
mixed $contents
Returns void
Throws Zend_Auth_Storage_Exception If writing $contents to storage is impossible