Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Zend_Http_UserAgent_Storage Interface Reference
Inheritance diagram for Zend_Http_UserAgent_Storage:
Zend_Http_UserAgent_Storage_NonPersistent Zend_Http_UserAgent_Storage_Session

Public Member Functions

 isEmpty ()
 
 read ()
 
 write ($contents)
 
 clear ()
 

Detailed Description

Definition at line 29 of file Storage.php.

Member Function Documentation

◆ clear()

clear ( )

Clears contents from storage

Exceptions
Zend_Http_UserAgent_Storage_ExceptionIf clearing contents from storage is impossible
Returns
void

Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.

◆ isEmpty()

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

Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.

◆ read()

read ( )

Returns the contents of storage associated to the key parameter

Behavior is undefined when storage is empty.

Exceptions
Zend_Http_UserAgent_Storage_ExceptionIf reading contents from storage is impossible
Returns
mixed

Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.

◆ write()

write (   $contents)

Writes $contents associated to the key parameter to storage

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

Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.


The documentation for this interface was generated from the following file: