Non-Persistent Browser Storage

Since HTTP Browserentication 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.

package Zend_Http
subpackage UserAgent
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Clears contents from storage

clear() : void
inherited_from \Zend_Http_UserAgent_Storage::clear()

Exceptions

\Zend_Http_UserAgent_Storage_Exception If clearing contents from storage is impossible

Returns true if and only if storage is empty

isEmpty() : boolean
inherited_from \Zend_Http_UserAgent_Storage::isEmpty()

Exceptions

\Zend_Http_UserAgent_Storage_Exception If it is impossible to determine whether storage is empty

Returns

boolean

Returns the contents of storage

read() : mixed

Behavior is undefined when storage is empty.

inherited_from \Zend_Http_UserAgent_Storage::read()

Exceptions

\Zend_Http_UserAgent_Storage_Exception If reading contents from storage is impossible

Returns

mixed

Writes $contents to storage

write(mixed $contents) : void
inherited_from \Zend_Http_UserAgent_Storage::write()

Parameters

$contents

mixed

Exceptions

\Zend_Http_UserAgent_Storage_Exception If writing $contents to storage is impossible

 Properties

 

Holds the actual Browser data

$_data : mixed

Default