API Documentation

Auth/Storage/NonPersistent.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Auth
subpackage
Storage
version
$Id: NonPersistent.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Auth_Storage_NonPersistent

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Auth_Storage_NonPersistent

Implements
Zend_Auth_Storage_Interface
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Auth
subpackage
Storage
Properties
$_data
Methods
isEmpty
read
write
clear

Description

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.

Properties

$_data

 $_data = ''

Holds the actual auth data

Details

visibility
protected
default
final
false
static
false

Methods

clear

clear( ) : void

Clears contents from storage

Details
visibility
public
final
false
static
false
throws
If clearing contents from storage is impossible

isEmpty

isEmpty( ) : boolean

Returns true if and only if storage is empty

Output
boolean
Details
visibility
public
final
false
static
false
throws
If it is impossible to determine whether storage is empty

read

read( ) : mixed

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

Output
mixed
Details
visibility
public
final
false
static
false
throws
If reading contents from storage is impossible

write

write( mixed $contents ) : void

Writes $contents to storage

Arguments
$contents
mixed
Details
visibility
public
final
false
static
false
throws
If writing $contents to storage is impossible
Documentation was generated by DocBlox.