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

Public Member Functions

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

Protected Attributes

 $_data
 

Member Function Documentation

clear ( )

Clears contents from storage.

Exceptions
Zend_Http_UserAgent_Storage_ExceptionIf clearing contents from storage is impossible
Returns
void

Implements Zend_Http_UserAgent_Storage.

isEmpty ( )

Returns true if and only if storage is empty.

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

Implements Zend_Http_UserAgent_Storage.

read ( )

Returns the contents of storage.

Behavior is undefined when storage is empty.

Exceptions
Zend_Http_UserAgent_Storage_ExceptionIf reading contents from storage is impossible
Returns
mixed

Implements Zend_Http_UserAgent_Storage.

write (   $contents)

Writes $contents to storage.

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

Implements Zend_Http_UserAgent_Storage.

Member Data Documentation

$_data
protected